Changeset View
Changeset View
Standalone View
Standalone View
plugins/mpriscontrol/mpriscontrolplugin.h
Show First 20 Lines • Show All 70 Lines • ▼ Show 20 Line(s) | 69 | private Q_SLOTS: | |||
---|---|---|---|---|---|
71 | void seeked(qlonglong); | 71 | void seeked(qlonglong); | ||
72 | 72 | | |||
73 | private: | 73 | private: | ||
74 | void serviceOwnerChanged(const QString& serviceName, const QString& oldOwner, const QString& newOwner); | 74 | void serviceOwnerChanged(const QString& serviceName, const QString& oldOwner, const QString& newOwner); | ||
75 | void addPlayer(const QString& serviceName); | 75 | void addPlayer(const QString& serviceName); | ||
76 | void removePlayer(const QString& serviceName); | 76 | void removePlayer(const QString& serviceName); | ||
77 | void sendPlayerList(); | 77 | void sendPlayerList(); | ||
78 | void mprisPlayerMetadataToNetworkPacket(NetworkPacket& np, const QVariantMap& nowPlayingMap) const; | 78 | void mprisPlayerMetadataToNetworkPacket(NetworkPacket& np, const QVariantMap& nowPlayingMap) const; | ||
79 | bool sendAlbumArt(const NetworkPacket& np); | ||||
79 | 80 | | |||
80 | QHash<QString, MprisPlayer> playerList; | 81 | QHash<QString, MprisPlayer> playerList; | ||
81 | int prevVolume; | 82 | int prevVolume; | ||
82 | QDBusServiceWatcher* m_watcher; | 83 | QDBusServiceWatcher* m_watcher; | ||
83 | 84 | | |||
84 | }; | 85 | }; | ||
85 | 86 | | |||
86 | #endif | 87 | #endif |