12 #ifndef ORG_MPRIS_MEDIA_PLAYER2_ADAPTOR_H 13 #define ORG_MPRIS_MEDIA_PLAYER2_ADAPTOR_H 15 #include <QtCore/QObject> 16 #include <QtDBus/QtDBus> 17 #include "DBusMPRIS.h" 21 template<
class Key,
class Value>
class QMap;
33 Q_CLASSINFO(
"D-Bus Interface",
"org.mpris.MediaPlayer2")
34 Q_CLASSINFO(
"D-Bus Introspection",
"" 35 " <interface name=\"org.mpris.MediaPlayer2\">\n" 36 " <method name=\"Raise\"/>\n" 37 " <method name=\"Quit\"/>\n" 38 " <property access=\"read\" type=\"b\" name=\"CanQuit\"/>\n" 39 " <property access=\"read\" type=\"b\" name=\"CanRaise\"/>\n" 40 " <property access=\"read\" type=\"b\" name=\"HasTrackList\"/>\n" 41 " <property access=\"read\" type=\"s\" name=\"Identity\"/>\n" 42 " <property access=\"read\" type=\"s\" name=\"DesktopEntry\"/>\n" 43 " <property access=\"read\" type=\"as\" name=\"SupportedUriSchemes\"/>\n" 44 " <property access=\"read\" type=\"as\" name=\"SupportedMimeTypes\"/>\n" 45 " <property access=\"readwrite\" type=\"b\" name=\"Fullscreen\"/>\n" 46 " <property access=\"read\" type=\"b\" name=\"CanSetFullscreen\"/>\n" 57 Q_PROPERTY(
bool CanQuit READ canQuit)
60 Q_PROPERTY(
bool CanRaise READ canRaise)
61 bool canRaise()
const;
63 Q_PROPERTY(
bool CanSetFullscreen READ canSetFullscreen)
64 bool canSetFullscreen()
const;
66 Q_PROPERTY(QString DesktopEntry READ desktopEntry)
67 QString desktopEntry()
const;
69 Q_PROPERTY(
bool Fullscreen READ fullscreen WRITE setFullscreen)
70 bool fullscreen()
const;
71 void setFullscreen(
bool value);
73 Q_PROPERTY(
bool HasTrackList READ hasTrackList)
74 bool hasTrackList()
const;
76 Q_PROPERTY(QString Identity READ identity)
77 QString identity()
const;
79 Q_PROPERTY(QStringList SupportedMimeTypes READ supportedMimeTypes)
80 QStringList supportedMimeTypes()
const;
82 Q_PROPERTY(QStringList SupportedUriSchemes READ supportedUriSchemes)
83 QStringList supportedUriSchemes()
const;
Definition: org_mpris_media_player2_adaptor.h:21
Definition: org_mpris_media_player2_adaptor.h:20