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 | * Do not edit! All changes made to it will be lost. |
9 | */ |
10 | |
11 | #include "propertiesadaptor_p.h" |
12 | #include <QtCore/QMetaObject> |
13 | #include <QtCore/QByteArray> |
14 | #include <QtCore/QList> |
15 | #include <QtCore/QMap> |
16 | #include <QtCore/QString> |
17 | #include <QtCore/QStringList> |
18 | #include <QtCore/QVariant> |
19 | |
20 | /* |
21 | * Implementation of adaptor class OrgFreedesktopDBusPropertiesAdaptor |
22 | */ |
23 | |
24 | OrgFreedesktopDBusPropertiesAdaptor::OrgFreedesktopDBusPropertiesAdaptor(QObject *parent) |
25 | : QDBusAbstractAdaptor(parent) |
26 | { |
27 | // constructor |
28 | setAutoRelaySignals(true); |
29 | } |
30 | |
31 | OrgFreedesktopDBusPropertiesAdaptor::~OrgFreedesktopDBusPropertiesAdaptor() |
32 | { |
33 | // destructor |
34 | } |
35 | |
36 | QDBusVariant OrgFreedesktopDBusPropertiesAdaptor::Get(const QString &interface, const QString &name) |
37 | { |
38 | // handle method call org.freedesktop.DBus.Properties.Get |
39 | QDBusVariant value; |
40 | QMetaObject::invokeMethod(obj: parent(), member: "Get" , Q_RETURN_ARG(QDBusVariant, value), Q_ARG(QString, interface), Q_ARG(QString, name)); |
41 | return value; |
42 | } |
43 | |
44 | QVariantMap OrgFreedesktopDBusPropertiesAdaptor::GetAll(const QString &interface) |
45 | { |
46 | // handle method call org.freedesktop.DBus.Properties.GetAll |
47 | QVariantMap properties; |
48 | QMetaObject::invokeMethod(obj: parent(), member: "GetAll" , Q_RETURN_ARG(QVariantMap, properties), Q_ARG(QString, interface)); |
49 | return properties; |
50 | } |
51 | |
52 | void OrgFreedesktopDBusPropertiesAdaptor::Set(const QString &interface, const QString &name, const QDBusVariant &value) |
53 | { |
54 | // handle method call org.freedesktop.DBus.Properties.Set |
55 | QMetaObject::invokeMethod(obj: parent(), member: "Set" , Q_ARG(QString, interface), Q_ARG(QString, name), Q_ARG(QDBusVariant, value)); |
56 | } |
57 | |