PageRenderTime 122ms CodeModel.GetById 70ms app.highlight 5ms RepoModel.GetById 45ms app.codeStats 0ms

/src/libtomahawk/infosystem/infoplugins/unix/mprispluginrootadaptor.h

http://github.com/tomahawk-player/tomahawk
C++ Header | 77 lines | 51 code | 13 blank | 13 comment | 0 complexity | 6ed49672f26909fc08ad4f1c5a46c6a1 MD5 | raw file
 1/*
 2 * This file was generated by qdbusxml2cpp version 0.7
 3 * Command line was: qdbusxml2cpp -a mprispluginrootadaptor -c MprisPluginRootAdaptor mprispluginrootadaptor.xml
 4 *
 5 * qdbusxml2cpp is Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
 6 *
 7 * This is an auto-generated file.
 8 * This file may have been hand-edited. Look for HAND-EDIT comments
 9 * before re-generating it.
10 */
11
12#ifndef MPRISPLUGINROOTADAPTOR_H_1312900930
13#define MPRISPLUGINROOTADAPTOR_H_1312900930
14
15#include <QtCore/QObject>
16#include <QtDBus/QtDBus>
17
18class QByteArray;
19template<class T> class QList;
20template<class Key, class Value> class QMap;
21class QString;
22class QStringList;
23class QVariant;
24
25/*
26 * Adaptor class for interface org.mpris.MediaPlayer2
27 */
28class MprisPluginRootAdaptor: public QDBusAbstractAdaptor
29{
30    Q_OBJECT
31    Q_CLASSINFO("D-Bus Interface", "org.mpris.MediaPlayer2")
32    Q_CLASSINFO("D-Bus Introspection", ""
33"  <interface name=\"org.mpris.MediaPlayer2\">\n"
34"    <method name=\"Raise\"/>\n"
35"    <method name=\"Quit\"/>\n"
36"    <property access=\"read\" type=\"b\" name=\"CanQuit\"/>\n"
37"    <property access=\"read\" type=\"b\" name=\"CanRaise\"/>\n"
38"    <property access=\"read\" type=\"b\" name=\"HasTrackList\"/>\n"
39"    <property access=\"read\" type=\"s\" name=\"Identity\"/>\n"
40"    <property access=\"read\" type=\"s\" name=\"DesktopEntry\"/>\n"
41"    <property access=\"read\" type=\"as\" name=\"SupportedUriSchemes\"/>\n"
42"    <property access=\"read\" type=\"as\" name=\"SupportedMimeTypes\"/>\n"
43"  </interface>\n"
44        "")
45public:
46    MprisPluginRootAdaptor(QObject *parent);
47    virtual ~MprisPluginRootAdaptor();
48
49public: // PROPERTIES
50    Q_PROPERTY(bool CanQuit READ canQuit)
51    bool canQuit() const;
52
53    Q_PROPERTY(bool CanRaise READ canRaise)
54    bool canRaise() const;
55
56    Q_PROPERTY(QString DesktopEntry READ desktopEntry)
57    QString desktopEntry() const;
58
59    Q_PROPERTY(bool HasTrackList READ hasTrackList)
60    bool hasTrackList() const;
61
62    Q_PROPERTY(QString Identity READ identity)
63    QString identity() const;
64
65    Q_PROPERTY(QStringList SupportedMimeTypes READ supportedMimeTypes)
66    QStringList supportedMimeTypes() const;
67
68    Q_PROPERTY(QStringList SupportedUriSchemes READ supportedUriSchemes)
69    QStringList supportedUriSchemes() const;
70
71public Q_SLOTS: // METHODS
72    void Quit();
73    void Raise();
74Q_SIGNALS: // SIGNALS
75};
76
77#endif