Sayonara Player
Signals | Public Member Functions | Public Slots | Protected Member Functions | Protected Attributes | Properties | List of all members
DBusMPRIS::MediaPlayer2 Class Reference

Signals

void Seeked (int64_t position)
 
void sig_raise ()
 

Public Member Functions

 MediaPlayer2 (QMainWindow *player, QObject *parent=nullptr)
 
bool CanQuit ()
 
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)
 
int64_t Position ()
 
void SetPosition (const QDBusObjectPath &track_id, int64_t 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 (int64_t offset)
 
void OpenUri (const QString &uri)
 

Public Slots

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

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
 

Protected Attributes

Settings_settings =nullptr
 

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
 
int64_t Position
 
double MinimumRate
 
double MaximumRate
 
bool CanGoNext
 
bool CanGoPrevious
 
bool CanPlay
 
bool CanPause
 
bool CanSeek
 
bool CanControl
 
Inheritance diagram for DBusMPRIS::MediaPlayer2:
DBusAdaptor SayonaraClass