1 | /* |
2 | * This file was generated by qdbusxml2cpp version 0.8 |
3 | * Command line was: qdbusxml2cpp -a propertiesadaptor_p.h:propertiesadaptor.cpp -c OrgFreedesktopDBusPropertiesAdaptor -i bluez5_helper_p.h org.freedesktop.dbus.properties.xml |
4 | * |
5 | * qdbusxml2cpp is Copyright (C) 2022 The Qt Company Ltd. |
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 PROPERTIESADAPTOR_P_H |
13 | #define PROPERTIESADAPTOR_P_H |
14 | |
15 | // |
16 | // W A R N I N G |
17 | // ------------- |
18 | // |
19 | // This file is not part of the Qt API. It exists purely as an |
20 | // implementation detail. This header file may change from version to |
21 | // version without notice, or even be removed. |
22 | // |
23 | // We mean it. |
24 | // |
25 | |
26 | #include <QtCore/QObject> |
27 | #include <QtDBus/QtDBus> |
28 | #include "bluez5_helper_p.h" |
29 | #include <QtCore/qcontainerfwd.h> |
30 | |
31 | /* |
32 | * Adaptor class for interface org.freedesktop.DBus.Properties |
33 | */ |
34 | class OrgFreedesktopDBusPropertiesAdaptor: public QDBusAbstractAdaptor |
35 | { |
36 | Q_OBJECT |
37 | Q_CLASSINFO("D-Bus Interface" , "org.freedesktop.DBus.Properties" ) |
38 | Q_CLASSINFO("D-Bus Introspection" , "" |
39 | " <interface name=\"org.freedesktop.DBus.Properties\">\n" |
40 | " <method name=\"Get\">\n" |
41 | " <arg direction=\"in\" type=\"s\" name=\"interface\"/>\n" |
42 | " <arg direction=\"in\" type=\"s\" name=\"name\"/>\n" |
43 | " <arg direction=\"out\" type=\"v\" name=\"value\"/>\n" |
44 | " </method>\n" |
45 | " <method name=\"Set\">\n" |
46 | " <arg direction=\"in\" type=\"s\" name=\"interface\"/>\n" |
47 | " <arg direction=\"in\" type=\"s\" name=\"name\"/>\n" |
48 | " <arg direction=\"in\" type=\"v\" name=\"value\"/>\n" |
49 | " </method>\n" |
50 | " <method name=\"GetAll\">\n" |
51 | " <arg direction=\"in\" type=\"s\" name=\"interface\"/>\n" |
52 | " <arg direction=\"out\" type=\"a{sv}\" name=\"properties\"/>\n" |
53 | " <annotation value=\"QVariantMap\" name=\"org.qtproject.QtDBus.QtTypeName.Out0\"/>\n" |
54 | " </method>\n" |
55 | " <signal name=\"PropertiesChanged\">\n" |
56 | " <arg type=\"s\" name=\"interface\"/>\n" |
57 | " <arg type=\"a{sv}\" name=\"changed_properties\"/>\n" |
58 | " <annotation value=\"QVariantMap\" name=\"org.qtproject.QtDBus.QtTypeName.Out1\"/>\n" |
59 | " <arg type=\"as\" name=\"invalidated_properties\"/>\n" |
60 | " </signal>\n" |
61 | " </interface>\n" |
62 | "" ) |
63 | public: |
64 | OrgFreedesktopDBusPropertiesAdaptor(QObject *parent); |
65 | virtual ~OrgFreedesktopDBusPropertiesAdaptor(); |
66 | |
67 | public: // PROPERTIES |
68 | public Q_SLOTS: // METHODS |
69 | QDBusVariant Get(const QString &interface, const QString &name); |
70 | QVariantMap GetAll(const QString &interface); |
71 | void Set(const QString &interface, const QString &name, const QDBusVariant &value); |
72 | Q_SIGNALS: // SIGNALS |
73 | void PropertiesChanged(const QString &interface, const QVariantMap &changed_properties, const QStringList &invalidated_properties); |
74 | }; |
75 | |
76 | #endif |
77 | |