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