| 1 | /* |
| 2 | * This file was generated by qdbusxml2cpp version 0.8 |
| 3 | * Source file was org.freedesktop.dbus.properties.xml |
| 4 | * |
| 5 | * qdbusxml2cpp is Copyright (C) The Qt Company Ltd. and other contributors. |
| 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 | namespace QtBluetoothPrivate { |
| 21 | |
| 22 | /* |
| 23 | * Implementation of adaptor class OrgFreedesktopDBusPropertiesAdaptor |
| 24 | */ |
| 25 | |
| 26 | OrgFreedesktopDBusPropertiesAdaptor::OrgFreedesktopDBusPropertiesAdaptor(QObject *parent) |
| 27 | : QDBusAbstractAdaptor(parent) |
| 28 | { |
| 29 | // constructor |
| 30 | setAutoRelaySignals(true); |
| 31 | } |
| 32 | |
| 33 | OrgFreedesktopDBusPropertiesAdaptor::~OrgFreedesktopDBusPropertiesAdaptor() |
| 34 | { |
| 35 | // destructor |
| 36 | } |
| 37 | |
| 38 | QDBusVariant OrgFreedesktopDBusPropertiesAdaptor::Get(const QString &interface, const QString &name) |
| 39 | { |
| 40 | // handle method call org.freedesktop.DBus.Properties.Get |
| 41 | QDBusVariant value; |
| 42 | QMetaObject::invokeMethod(obj: parent(), member: "Get" , Q_RETURN_ARG(QDBusVariant, value), Q_ARG(QString, interface), Q_ARG(QString, name)); |
| 43 | return value; |
| 44 | } |
| 45 | |
| 46 | QVariantMap OrgFreedesktopDBusPropertiesAdaptor::GetAll(const QString &interface) |
| 47 | { |
| 48 | // handle method call org.freedesktop.DBus.Properties.GetAll |
| 49 | QVariantMap properties; |
| 50 | QMetaObject::invokeMethod(obj: parent(), member: "GetAll" , Q_RETURN_ARG(QVariantMap, properties), Q_ARG(QString, interface)); |
| 51 | return properties; |
| 52 | } |
| 53 | |
| 54 | void OrgFreedesktopDBusPropertiesAdaptor::Set(const QString &interface, const QString &name, const QDBusVariant &value) |
| 55 | { |
| 56 | // handle method call org.freedesktop.DBus.Properties.Set |
| 57 | QMetaObject::invokeMethod(obj: parent(), member: "Set" , Q_ARG(QString, interface), Q_ARG(QString, name), Q_ARG(QDBusVariant, value)); |
| 58 | } |
| 59 | |
| 60 | } // end of namespace QtBluetoothPrivate |
| 61 | |