1 | /* |
2 | * This file was generated by qdbusxml2cpp version 0.8 |
3 | * Command line was: qdbusxml2cpp -v org.freedesktop.dbus.properties.xml -p dbusproperties_p -v |
4 | * |
5 | * qdbusxml2cpp is Copyright (C) 2015 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 DBUSPROPERTIES_H_1409915780 |
12 | #define DBUSPROPERTIES_H_1409915780 |
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.freedesktop.DBus.Properties |
25 | */ |
26 | class OrgFreedesktopDBusPropertiesInterface: public QDBusAbstractInterface |
27 | { |
28 | Q_OBJECT |
29 | public: |
30 | static inline const char *staticInterfaceName() |
31 | { return "org.freedesktop.DBus.Properties" ; } |
32 | |
33 | public: |
34 | OrgFreedesktopDBusPropertiesInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0); |
35 | |
36 | ~OrgFreedesktopDBusPropertiesInterface(); |
37 | |
38 | public Q_SLOTS: // METHODS |
39 | inline QDBusPendingReply<QDBusVariant> Get(const QString &interface, const QString &name) |
40 | { |
41 | QList<QVariant> argumentList; |
42 | argumentList << QVariant::fromValue(value: interface) << QVariant::fromValue(value: name); |
43 | return asyncCallWithArgumentList(QStringLiteral("Get" ), args: argumentList); |
44 | } |
45 | |
46 | inline QDBusPendingReply<QVariantMap> GetAll(const QString &interface) |
47 | { |
48 | QList<QVariant> argumentList; |
49 | argumentList << QVariant::fromValue(value: interface); |
50 | return asyncCallWithArgumentList(QStringLiteral("GetAll" ), args: argumentList); |
51 | } |
52 | |
53 | inline QDBusPendingReply<> Set(const QString &interface, const QString &name, const QDBusVariant &value) |
54 | { |
55 | QList<QVariant> argumentList; |
56 | argumentList << QVariant::fromValue(value: interface) << QVariant::fromValue(value: name) << QVariant::fromValue(value); |
57 | return asyncCallWithArgumentList(QStringLiteral("Set" ), args: argumentList); |
58 | } |
59 | |
60 | Q_SIGNALS: // SIGNALS |
61 | void PropertiesChanged(const QString &interface, const QVariantMap &changed_properties, const QStringList &invalidated_properties); |
62 | }; |
63 | |
64 | namespace org { |
65 | namespace freedesktop { |
66 | namespace DBus { |
67 | typedef ::OrgFreedesktopDBusPropertiesInterface Properties; |
68 | } |
69 | } |
70 | } |
71 | #endif |
72 | |