#include <track_list_implementation.h>
Signals | |
| void | endOfTrackList () |
| void | onGoToTrack (const Track::Id &id) |
| void | trackAdded (const Track::Id &id) |
| void | tracksAdded (const QVector< QUrl > &tracks) |
| void | trackRemoved (const Track::Id &id) |
| void | trackMoved (const Track::Id &id, const Track::Id &to) |
| void | trackListReset () |
| void | trackChanged (const Track::Id &id) |
| void | trackListReplaced (const QVector< Track::Id > &tracks, const Track::Id ¤tTrack) |
Static Public Member Functions | |
| static const Track::Id & | afterEmptyTrack () |
Definition at line 74 of file track_list_implementation.h.
| TrackListImplementation::TrackListImplementation | ( | const QSharedPointer< Engine::MetaDataExtractor > & | extractor, |
| QObject * | parent = nullptr ) |
Definition at line 402 of file track_list_implementation.cpp.
Referenced by add_track_with_uri_at(), add_tracks_with_uri_at(), current(), go_to(), hasNext(), hasPrevious(), loopStatus(), move_track(), next(), previous(), query_meta_data_for_track(), query_uri_for_track(), remove_track(), reset(), setCurrentPosition(), setLoopStatus(), setShuffle(), shuffle(), shuffled_tracks(), trackListReplaced(), and tracks().
| TrackListImplementation::~TrackListImplementation | ( | ) |
Definition at line 410 of file track_list_implementation.cpp.
| void lomiri::MediaHubService::TrackListImplementation::add_track_with_uri_at | ( | const QUrl & | uri, |
| const Track::Id & | position, | ||
| bool | make_current ) |
Definition at line 454 of file track_list_implementation.cpp.
References MH_TRACE, and TrackListImplementation().
| void TrackListImplementation::add_tracks_with_uri_at | ( | const QVector< QUrl > & | uris, |
| const Track::Id & | position ) |
Definition at line 464 of file track_list_implementation.cpp.
References MH_TRACE, and TrackListImplementation().
|
static |
Definition at line 775 of file track_list_implementation.cpp.
Referenced by lomiri::MediaHubService::PlayerImplementation::open_uri().
| bool TrackListImplementation::canEditTracks | ( | ) | const |
Definition at line 770 of file track_list_implementation.cpp.
| const Track::Id & TrackListImplementation::current | ( | ) | const |
Definition at line 746 of file track_list_implementation.cpp.
References TrackListImplementation().
|
signal |
Referenced by next(), previous(), and reset().
| void lomiri::MediaHubService::TrackListImplementation::go_to | ( | const Track::Id & | track | ) |
Definition at line 486 of file track_list_implementation.cpp.
References MH_TRACE, and TrackListImplementation().
| bool TrackListImplementation::hasNext | ( | ) | const |
Definition at line 527 of file track_list_implementation.cpp.
References shuffle(), and TrackListImplementation().
Referenced by next().
| bool TrackListImplementation::hasPrevious | ( | ) | const |
Definition at line 566 of file track_list_implementation.cpp.
References MH_DEBUG, shuffle(), and TrackListImplementation().
Referenced by previous().
| Player::LoopStatus TrackListImplementation::loopStatus | ( | ) | const |
Definition at line 758 of file track_list_implementation.cpp.
References TrackListImplementation().
Definition at line 472 of file track_list_implementation.cpp.
References MH_TRACE, and TrackListImplementation().
| media::Track::Id lomiri::MediaHubService::TrackListImplementation::next | ( | ) |
Definition at line 579 of file track_list_implementation.cpp.
References endOfTrackList(), hasNext(), MH_DEBUG, MH_ERROR, MH_INFO, MH_TRACE, onGoToTrack(), lomiri::MediaHubService::Player::playlist, shuffle(), lomiri::MediaHubService::Player::track, trackChanged(), and TrackListImplementation().
|
signal |
Referenced by next(), and previous().
| media::Track::Id lomiri::MediaHubService::TrackListImplementation::previous | ( | ) |
Definition at line 668 of file track_list_implementation.cpp.
References endOfTrackList(), hasPrevious(), MH_ERROR, MH_INFO, MH_TRACE, onGoToTrack(), lomiri::MediaHubService::Player::playlist, shuffle(), lomiri::MediaHubService::Player::track, trackChanged(), and TrackListImplementation().
| Track::MetaData TrackListImplementation::query_meta_data_for_track | ( | const Track::Id & | id | ) |
Definition at line 443 of file track_list_implementation.cpp.
References TrackListImplementation().
| QUrl TrackListImplementation::query_uri_for_track | ( | const Track::Id & | id | ) |
Definition at line 432 of file track_list_implementation.cpp.
References TrackListImplementation().
| void lomiri::MediaHubService::TrackListImplementation::remove_track | ( | const Track::Id & | id | ) |
Definition at line 480 of file track_list_implementation.cpp.
References TrackListImplementation().
| void lomiri::MediaHubService::TrackListImplementation::reset | ( | ) |
Definition at line 499 of file track_list_implementation.cpp.
References endOfTrackList(), MH_TRACE, TrackListImplementation(), and trackListReset().
| void TrackListImplementation::setCurrentPosition | ( | uint64_t | position | ) |
Definition at line 764 of file track_list_implementation.cpp.
References TrackListImplementation().
| void TrackListImplementation::setLoopStatus | ( | Player::LoopStatus | status | ) |
Definition at line 752 of file track_list_implementation.cpp.
References TrackListImplementation().
| void TrackListImplementation::setShuffle | ( | bool | shuffle | ) |
Definition at line 414 of file track_list_implementation.cpp.
References shuffle(), and TrackListImplementation().
| bool TrackListImplementation::shuffle | ( | ) | const |
Definition at line 426 of file track_list_implementation.cpp.
References TrackListImplementation().
Referenced by hasNext(), hasPrevious(), next(), previous(), and setShuffle().
| const TrackList::Container & TrackListImplementation::shuffled_tracks | ( | ) | const |
Definition at line 493 of file track_list_implementation.cpp.
References TrackListImplementation().
|
signal |
|
signal |
Referenced by next(), previous(), and lomiri::MediaHubService::TrackListSkeleton::TrackListSkeleton().
|
signal |
References TrackListImplementation(), and tracks().
Referenced by lomiri::MediaHubService::TrackListSkeleton::TrackListSkeleton().
|
signal |
Referenced by reset(), and lomiri::MediaHubService::TrackListSkeleton::TrackListSkeleton().
|
signal |
| const TrackList::Container & TrackListImplementation::tracks | ( | ) | const |
Definition at line 516 of file track_list_implementation.cpp.
References TrackListImplementation().
Referenced by trackListReplaced(), and tracksAdded().
|
signal |
References tracks().
Referenced by lomiri::MediaHubService::TrackListSkeleton::TrackListSkeleton().