| 1 | /* |
| 2 | * This file was generated by qdbusxml2cpp version 0.8 |
| 3 | * Command line was: |
| 4 | * |
| 5 | * qdbusxml2cpp is Copyright (C) 2016 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 OLPCMESHDEVICEINTERFACE_H |
| 12 | #define OLPCMESHDEVICEINTERFACE_H |
| 13 | |
| 14 | #include "generictypes.h" |
| 15 | |
| 16 | #include <QDBusAbstractInterface> |
| 17 | #include <QDBusObjectPath> |
| 18 | #include <QObject> |
| 19 | #include <QString> |
| 20 | #include <QVariant> |
| 21 | |
| 22 | /* |
| 23 | * Proxy class for interface org.freedesktop.NetworkManager.Device.OlpcMesh |
| 24 | */ |
| 25 | class OrgFreedesktopNetworkManagerDeviceOlpcMeshInterface : public QDBusAbstractInterface |
| 26 | { |
| 27 | Q_OBJECT |
| 28 | public: |
| 29 | static inline const char *staticInterfaceName() |
| 30 | #ifdef NMQT_STATIC |
| 31 | { |
| 32 | return "org.kde.fakenetwork.Device.OlpcMesh" ; |
| 33 | } |
| 34 | #else |
| 35 | { |
| 36 | return "org.freedesktop.NetworkManager.Device.OlpcMesh" ; |
| 37 | } |
| 38 | #endif |
| 39 | |
| 40 | public: |
| 41 | OrgFreedesktopNetworkManagerDeviceOlpcMeshInterface(const QString &service, |
| 42 | const QString &path, |
| 43 | const QDBusConnection &connection, |
| 44 | QObject *parent = nullptr); |
| 45 | |
| 46 | ~OrgFreedesktopNetworkManagerDeviceOlpcMeshInterface() override; |
| 47 | |
| 48 | Q_PROPERTY(uint ActiveChannel READ activeChannel) |
| 49 | inline uint activeChannel() const |
| 50 | { |
| 51 | return qvariant_cast<uint>(v: property(name: "ActiveChannel" )); |
| 52 | } |
| 53 | |
| 54 | Q_PROPERTY(QDBusObjectPath Companion READ companion) |
| 55 | inline QDBusObjectPath companion() const |
| 56 | { |
| 57 | return qvariant_cast<QDBusObjectPath>(v: property(name: "Companion" )); |
| 58 | } |
| 59 | |
| 60 | Q_PROPERTY(QString HwAddress READ hwAddress) |
| 61 | inline QString hwAddress() const |
| 62 | { |
| 63 | return qvariant_cast<QString>(v: property(name: "HwAddress" )); |
| 64 | } |
| 65 | |
| 66 | public Q_SLOTS: // METHODS |
| 67 | Q_SIGNALS: // SIGNALS |
| 68 | void PropertiesChanged(const QVariantMap &properties); |
| 69 | }; |
| 70 | |
| 71 | #endif |
| 72 | |