Inheritance diagram for mpris::PlayerAdaptor:
Collaboration diagram for mpris::PlayerAdaptor:Public Types | |
| enum | LoopStatus { None = media::Player::LoopStatus::none , Track = media::Player::LoopStatus::track , Playlist = media::Player::LoopStatus::playlist } |
Public Slots | |
| void | Next () |
| void | Previous () |
| void | Pause () |
| void | PlayPause () |
| void | Stop () |
| void | Play () |
| void | Seek (quint64 microSeconds) |
| void | SetPosition (const QDBusObjectPath &, quint64) |
| void | OpenUri (const QDBusMessage &) |
Signals | |
| void | Seeked (quint64 microSeconds) |
| void | AboutToFinish () |
| void | EndOfStream () |
| void | PlaybackStatusChanged (quint16 status) |
| void | VideoDimensionChanged (quint32 height, quint32 width) |
| void | Error (qint16 code) |
| void | Buffering (int percent) |
Public Member Functions | |
| PlayerAdaptor (const QDBusConnection &connection, QObject *parent) | |
| void | setPlayer (media::PlayerImplementation *impl) |
| media::PlayerImplementation * | player () |
| const media::PlayerImplementation * | player () const |
| bool | canPlay () const |
| bool | canPause () const |
| bool | canSeek () const |
| bool | canGoPrevious () const |
| bool | canGoNext () const |
| bool | canControl () const |
| bool | isVideoSource () const |
| bool | isAudioSource () const |
| QString | playbackStatus () const |
| void | setLoopStatus (const QString &status) |
| QString | loopStatus () const |
| void | setTypedLoopStatus (qint16 status) |
| qint16 | typedLoopStatus () const |
| void | setPlaybackRate (double rate) |
| double | playbackRate () const |
| void | setShuffle (bool shuffle) |
| bool | shuffle () const |
| QVariantMap | metadata () const |
| void | setVolume (double volume) |
| double | volume () const |
| double | minimumRate () const |
| double | maximumRate () const |
| qint64 | position () const |
| qint64 | duration () const |
| qint16 | backend () const |
| qint16 | orientation () const |
| qint16 | lifetime () const |
| qint16 | audioStreamRole () const |
Properties | |
| bool | CanPlay |
| bool | CanPause |
| bool | CanSeek |
| bool | CanGoPrevious |
| bool | CanGoNext |
| bool | CanControl |
| bool | IsVideoSource |
| bool | IsAudioSource |
| QString | PlaybackStatus |
| QString | LoopStatus |
| double | PlaybackRate |
| bool | Shuffle |
| QVariantMap | Metadata |
| double | Volume |
| double | MinimumRate |
| double | MaximumRate |
| qint64 | Position |
| qint64 | Duration |
| qint16 | TypedBackend |
| qint16 | Orientation |
| qint16 | Lifetime |
| qint16 | AudioStreamRole |
| qint16 | TypedLoopStatus |
Definition at line 100 of file media_player2.cpp.
| Enumerator | |
|---|---|
| None | |
| Track | |
| Playlist | |
Definition at line 130 of file media_player2.cpp.
| PlayerAdaptor::PlayerAdaptor | ( | const QDBusConnection & | connection, |
| QObject * | parent | ||
| ) |
Definition at line 211 of file media_player2.cpp.
|
signal |
|
inline |
Definition at line 170 of file media_player2.cpp.
References lomiri::MediaHubService::PlayerImplementation::audioStreamRole().
Here is the call graph for this function:
|
inline |
Definition at line 167 of file media_player2.cpp.
References lomiri::MediaHubService::PlayerImplementation::backend().
Here is the call graph for this function:
|
signal |
|
inline |
Definition at line 148 of file media_player2.cpp.
|
inline |
Definition at line 147 of file media_player2.cpp.
References lomiri::MediaHubService::PlayerImplementation::canGoNext().
Here is the call graph for this function:
|
inline |
Definition at line 146 of file media_player2.cpp.
References lomiri::MediaHubService::PlayerImplementation::canGoPrevious().
Here is the call graph for this function:
|
inline |
Definition at line 144 of file media_player2.cpp.
References lomiri::MediaHubService::PlayerImplementation::canPause().
Here is the call graph for this function:
|
inline |
Definition at line 143 of file media_player2.cpp.
References lomiri::MediaHubService::PlayerImplementation::canPlay().
Here is the call graph for this function:
|
inline |
Definition at line 145 of file media_player2.cpp.
References lomiri::MediaHubService::PlayerImplementation::canSeek().
Here is the call graph for this function:
|
inline |
Definition at line 166 of file media_player2.cpp.
References lomiri::MediaHubService::PlayerImplementation::duration().
Here is the call graph for this function:
|
signal |
|
signal |
|
inline |
Definition at line 150 of file media_player2.cpp.
References lomiri::MediaHubService::PlayerImplementation::isAudioSource().
Here is the call graph for this function:
|
inline |
Definition at line 149 of file media_player2.cpp.
References lomiri::MediaHubService::PlayerImplementation::isVideoSource().
Here is the call graph for this function:
|
inline |
Definition at line 169 of file media_player2.cpp.
References lomiri::MediaHubService::PlayerImplementation::lifetime().
Here is the call graph for this function:| QString PlayerAdaptor::loopStatus | ( | ) | const |
Definition at line 283 of file media_player2.cpp.
References lomiri::MediaHubService::PlayerImplementation::loopStatus(), None, and player().
Here is the call graph for this function:
|
inline |
Definition at line 164 of file media_player2.cpp.
References lomiri::MediaHubService::PlayerImplementation::maximumRate().
Here is the call graph for this function:
|
inline |
Definition at line 160 of file media_player2.cpp.
References lomiri::MediaHubService::PlayerImplementation::metadataForCurrentTrack().
Here is the call graph for this function:
|
inline |
Definition at line 163 of file media_player2.cpp.
References lomiri::MediaHubService::PlayerImplementation::minimumRate().
Here is the call graph for this function:
|
inlineslot |
Definition at line 173 of file media_player2.cpp.
References lomiri::MediaHubService::PlayerImplementation::next().
Here is the call graph for this function:
|
slot |
Definition at line 318 of file media_player2.cpp.
|
inline |
Definition at line 168 of file media_player2.cpp.
References lomiri::MediaHubService::PlayerImplementation::orientation().
Here is the call graph for this function:
|
inlineslot |
Definition at line 175 of file media_player2.cpp.
References lomiri::MediaHubService::PlayerImplementation::pause().
Here is the call graph for this function:
|
inlineslot |
Definition at line 178 of file media_player2.cpp.
References lomiri::MediaHubService::PlayerImplementation::play().
Here is the call graph for this function:
|
inline |
Definition at line 157 of file media_player2.cpp.
References lomiri::MediaHubService::PlayerImplementation::playbackRate().
Here is the call graph for this function:| QString PlayerAdaptor::playbackStatus | ( | ) | const |
Definition at line 255 of file media_player2.cpp.
References mpris::Player::PlaybackStatus::paused, lomiri::MediaHubService::PlayerImplementation::playbackStatus(), player(), mpris::Player::PlaybackStatus::playing, and mpris::Player::PlaybackStatus::stopped.
Here is the call graph for this function:
|
signal |
|
inline |
Definition at line 140 of file media_player2.cpp.
Referenced by loopStatus(), playbackStatus(), Seek(), setLoopStatus(), setTypedLoopStatus(), and typedLoopStatus().
|
inline |
Definition at line 141 of file media_player2.cpp.
|
slot |
Definition at line 300 of file media_player2.cpp.
References lomiri::MediaHubService::PlayerImplementation::pause(), lomiri::MediaHubService::Player::paused, lomiri::MediaHubService::PlayerImplementation::play(), lomiri::MediaHubService::PlayerImplementation::playbackStatus(), lomiri::MediaHubService::Player::playing, lomiri::MediaHubService::Player::ready, and lomiri::MediaHubService::Player::stopped.
Here is the call graph for this function:
|
inline |
Definition at line 165 of file media_player2.cpp.
References lomiri::MediaHubService::PlayerImplementation::position().
Here is the call graph for this function:
|
inlineslot |
Definition at line 174 of file media_player2.cpp.
References lomiri::MediaHubService::PlayerImplementation::previous().
Here is the call graph for this function:
|
slot |
Definition at line 323 of file media_player2.cpp.
References player(), and lomiri::MediaHubService::PlayerImplementation::seek_to().
Here is the call graph for this function:
|
signal |
Referenced by setPlayer().
| void PlayerAdaptor::setLoopStatus | ( | const QString & | status | ) |
Definition at line 270 of file media_player2.cpp.
References MH_ERROR, player(), and lomiri::MediaHubService::PlayerImplementation::setLoopStatus().
Here is the call graph for this function:
|
inline |
Definition at line 156 of file media_player2.cpp.
References lomiri::MediaHubService::PlayerImplementation::setPlaybackRate().
Here is the call graph for this function:| void PlayerAdaptor::setPlayer | ( | media::PlayerImplementation * | impl | ) |
Definition at line 219 of file media_player2.cpp.
References DBusPropertyNotifier::notify(), and Seeked().
Here is the call graph for this function:
|
inlineslot |
Definition at line 180 of file media_player2.cpp.
|
inline |
Definition at line 158 of file media_player2.cpp.
References lomiri::MediaHubService::PlayerImplementation::setShuffle(), and shuffle().
Here is the call graph for this function:| void PlayerAdaptor::setTypedLoopStatus | ( | qint16 | status | ) |
Definition at line 289 of file media_player2.cpp.
References player(), and lomiri::MediaHubService::PlayerImplementation::setLoopStatus().
Here is the call graph for this function:
|
inline |
Definition at line 161 of file media_player2.cpp.
References lomiri::MediaHubService::PlayerImplementation::setVolume(), and volume().
Here is the call graph for this function:
|
inline |
Definition at line 159 of file media_player2.cpp.
References lomiri::MediaHubService::PlayerImplementation::shuffle().
Referenced by setShuffle().
Here is the call graph for this function:
|
inlineslot |
Definition at line 177 of file media_player2.cpp.
References lomiri::MediaHubService::PlayerImplementation::stop().
Here is the call graph for this function:| qint16 PlayerAdaptor::typedLoopStatus | ( | ) | const |
Definition at line 295 of file media_player2.cpp.
References lomiri::MediaHubService::PlayerImplementation::loopStatus(), None, and player().
Here is the call graph for this function:
|
signal |
|
inline |
Definition at line 162 of file media_player2.cpp.
References lomiri::MediaHubService::PlayerImplementation::volume().
Referenced by setVolume().
Here is the call graph for this function:
|
read |
Definition at line 125 of file media_player2.cpp.
|
read |
Definition at line 109 of file media_player2.cpp.
|
read |
Definition at line 108 of file media_player2.cpp.
|
read |
Definition at line 107 of file media_player2.cpp.
|
read |
Definition at line 105 of file media_player2.cpp.
|
read |
Definition at line 104 of file media_player2.cpp.
|
read |
Definition at line 106 of file media_player2.cpp.
|
read |
Definition at line 121 of file media_player2.cpp.
|
read |
Definition at line 111 of file media_player2.cpp.
|
read |
Definition at line 110 of file media_player2.cpp.
|
read |
Definition at line 124 of file media_player2.cpp.
|
readwrite |
Definition at line 113 of file media_player2.cpp.
|
read |
Definition at line 119 of file media_player2.cpp.
|
read |
Definition at line 116 of file media_player2.cpp.
|
read |
Definition at line 118 of file media_player2.cpp.
|
read |
Definition at line 123 of file media_player2.cpp.
|
readwrite |
Definition at line 114 of file media_player2.cpp.
|
read |
Definition at line 112 of file media_player2.cpp.
|
read |
Definition at line 120 of file media_player2.cpp.
|
readwrite |
Definition at line 115 of file media_player2.cpp.
|
read |
Definition at line 122 of file media_player2.cpp.
|
readwrite |
Definition at line 126 of file media_player2.cpp.
|
readwrite |
Definition at line 117 of file media_player2.cpp.