Sayonara Player
gnome_settings_daemon.h
1 /*
2  * This file was generated by qdbusxml2cpp version 0.8
3  * Command line was: qdbusxml2cpp -m -p gnome_settings_daemon /builddir/build/BUILD/sayonara-player-1.6.0-beta7/src/DBus/resources/org.gnome.SettingsDaemon.MediaKeys.xml
4  *
5  * qdbusxml2cpp is Copyright (C) 2020 The Qt Company Ltd.
6  *
7  * This is an auto-generated file.
8  * Do not edit! All changes made to it will be lost.
9  */
10 
11 #ifndef GNOME_SETTINGS_DAEMON_H
12 #define GNOME_SETTINGS_DAEMON_H
13 
14 #include <QtCore/QObject>
15 #include <QtCore/QByteArray>
16 #include <QtCore/QList>
17 #include <QtCore/QMap>
18 #include <QtCore/QString>
19 #include <QtCore/QStringList>
20 #include <QtCore/QVariant>
21 #include <QtDBus/QtDBus>
22 
23 /*
24  * Proxy class for interface org.gnome.SettingsDaemon.MediaKeys
25  */
26 class OrgGnomeSettingsDaemonMediaKeysInterface: public QDBusAbstractInterface
27 {
28  Q_OBJECT
29 public:
30  static inline const char *staticInterfaceName()
31  { return "org.gnome.SettingsDaemon.MediaKeys"; }
32 
33 public:
34  OrgGnomeSettingsDaemonMediaKeysInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr);
35 
37 
38 public Q_SLOTS: // METHODS
39  inline QDBusPendingReply<> GrabMediaPlayerKeys(const QString &application, uint time)
40  {
41  QList<QVariant> argumentList;
42  argumentList << QVariant::fromValue(application) << QVariant::fromValue(time);
43  return asyncCallWithArgumentList(QStringLiteral("GrabMediaPlayerKeys"), argumentList);
44  }
45 
46  inline QDBusPendingReply<> ReleaseMediaPlayerKeys(const QString &application)
47  {
48  QList<QVariant> argumentList;
49  argumentList << QVariant::fromValue(application);
50  return asyncCallWithArgumentList(QStringLiteral("ReleaseMediaPlayerKeys"), argumentList);
51  }
52 
53 Q_SIGNALS: // SIGNALS
54  void MediaPlayerKeyPressed(const QString &in0, const QString &in1);
55 };
56 
57 namespace org {
58  namespace gnome {
59  namespace SettingsDaemon {
60  typedef ::OrgGnomeSettingsDaemonMediaKeysInterface MediaKeys;
61  }
62  }
63 }
64 #endif
QList
Definition: EngineUtils.h:33
OrgGnomeSettingsDaemonMediaKeysInterface
Definition: gnome_settings_daemon.h:27