Sayonara Player
Public Slots | Signals | Public Member Functions | Protected Member Functions | Properties | List of all members
DBusMPRIS::MediaPlayer2 Class Reference
Inheritance diagram for DBusMPRIS::MediaPlayer2:
DBusAdaptor

Public Slots

void position_changed (MilliSeconds pos_ms)
 
void volume_changed (int volume)
 
void track_idx_changed (int idx)
 
void track_changed (const MetaData &md)
 
void playstate_changed (PlayState state)
 

Signals

void Seeked (qlonglong position)
 
void sig_raise ()
 

Public Member Functions

 MediaPlayer2 (QMainWindow *player, QObject *parent=nullptr)
 
bool CanQuit () const
 
bool CanRaise ()
 
bool HasTrackList ()
 
QString Identity ()
 
QString DesktopEntry ()
 
QStringList SupportedUriSchemes ()
 
QStringList SupportedMimeTypes ()
 
bool CanSetFullscreen ()
 
bool Fullscreen ()
 
void SetFullscreen (bool b)
 
void Raise ()
 
void Quit ()
 
QString PlaybackStatus ()
 
QString LoopStatus ()
 
void SetLoopStatus (QString status)
 
double Rate ()
 
void SetRate (double rate)
 
bool Shuffle ()
 
void SetShuffle (bool shuffle)
 
QVariantMap Metadata ()
 
double Volume ()
 
void SetVolume (double volume)
 
qlonglong Position ()
 
void SetPosition (const QDBusObjectPath &track_id, qlonglong position)
 
double MinimumRate ()
 
double MaximumRate ()
 
bool CanGoNext ()
 
bool CanGoPrevious ()
 
bool CanPlay ()
 
bool CanPause ()
 
bool CanSeek ()
 
bool CanControl ()
 
void Next ()
 
void Previous ()
 
void Pause ()
 
void PlayPause ()
 
void Stop ()
 
void Play ()
 
void Seek (qlonglong offset)
 
void OpenUri (const QString &uri)
 

Protected Member Functions

void create_message (QString name, QVariant val)
 
QString object_path () const
 
QString service_name () const
 
QString dbus_service () const
 
QString dbus_interface () const
 

Properties

bool CanQuit
 
bool CanRaise
 
bool HasTrackList
 
QString Identity
 
QString DesktopEntry
 
QStringList SupportedUriSchemes
 
QStringList SupportedMimeTypes
 
bool CanSetFullscreen
 
bool Fullscreen
 
QString PlaybackStatus
 
QString LoopStatus
 
double Rate
 
bool Shuffle
 
QVariantMap Metadata
 
double Volume
 
qlonglong Position
 
double MinimumRate
 
double MaximumRate
 
bool CanGoNext
 
bool CanGoPrevious
 
bool CanPlay
 
bool CanPause
 
bool CanSeek
 
bool CanControl