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 positionChanged (MilliSeconds pos_ms)
 
void volumeChanged (int volume)
 
void trackIndexChanged (int idx)
 
void trackChanged (const MetaData &track)
 
void playstateChanged (PlayState state)
 

Signals

void Seeked (qlonglong position)
 

Public Member Functions

 MediaPlayer2 (QMainWindow *player, PlayManager *playManager, PlaylistAccessor *playlistAccessor, 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)
 
int Rating ()
 
bool Shuffle ()
 
void SetShuffle (bool shuffle)
 
QVariantMap Metadata ()
 
double Volume ()
 
void SetVolume (double volume)
 
void IncreaseVolume ()
 
void DecreaseVolume ()
 
qlonglong Position ()
 
void SetPosition (const QDBusObjectPath &trackId, 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 createMessage (QString name, QVariant val)
 
QString objectPath () const
 
QString serviceName () const
 
QString dbusService () const
 
QString dbusInterface () 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
 
int Rating
 
bool Shuffle
 
QVariantMap Metadata
 
double Volume
 
qlonglong Position
 
double MinimumRate
 
double MaximumRate
 
bool CanGoNext
 
bool CanGoPrevious
 
bool CanPlay
 
bool CanPause
 
bool CanSeek
 
bool CanControl