| 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 WIMAXDEVICEINTERFACE_H |
| 12 | #define WIMAXDEVICEINTERFACE_H |
| 13 | |
| 14 | #include "generictypes.h" |
| 15 | |
| 16 | #include <QDBusAbstractInterface> |
| 17 | #include <QDBusObjectPath> |
| 18 | #include <QDBusPendingReply> |
| 19 | #include <QList> |
| 20 | #include <QObject> |
| 21 | #include <QString> |
| 22 | #include <QVariant> |
| 23 | |
| 24 | /* |
| 25 | * Proxy class for interface org.freedesktop.NetworkManager.Device.WiMax |
| 26 | */ |
| 27 | class OrgFreedesktopNetworkManagerDeviceWiMaxInterface : public QDBusAbstractInterface |
| 28 | { |
| 29 | Q_OBJECT |
| 30 | public: |
| 31 | static inline const char *staticInterfaceName() |
| 32 | #ifdef NMQT_STATIC |
| 33 | { |
| 34 | return "org.kde.fakenetwork.Device.WiMax" ; |
| 35 | } |
| 36 | #else |
| 37 | { |
| 38 | return "org.freedesktop.NetworkManager.Device.WiMax" ; |
| 39 | } |
| 40 | #endif |
| 41 | |
| 42 | public: |
| 43 | OrgFreedesktopNetworkManagerDeviceWiMaxInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr); |
| 44 | |
| 45 | ~OrgFreedesktopNetworkManagerDeviceWiMaxInterface() override; |
| 46 | |
| 47 | Q_PROPERTY(QDBusObjectPath ActiveNsp READ activeNsp) |
| 48 | inline QDBusObjectPath activeNsp() const |
| 49 | { |
| 50 | return qvariant_cast<QDBusObjectPath>(v: property(name: "ActiveNsp" )); |
| 51 | } |
| 52 | |
| 53 | Q_PROPERTY(QString Bsid READ bsid) |
| 54 | inline QString bsid() const |
| 55 | { |
| 56 | return qvariant_cast<QString>(v: property(name: "Bsid" )); |
| 57 | } |
| 58 | |
| 59 | Q_PROPERTY(uint CenterFrequency READ centerFrequency) |
| 60 | inline uint centerFrequency() const |
| 61 | { |
| 62 | return qvariant_cast<uint>(v: property(name: "CenterFrequency" )); |
| 63 | } |
| 64 | |
| 65 | Q_PROPERTY(int Cinr READ cinr) |
| 66 | inline int cinr() const |
| 67 | { |
| 68 | return qvariant_cast<int>(v: property(name: "Cinr" )); |
| 69 | } |
| 70 | |
| 71 | Q_PROPERTY(QString HwAddress READ hwAddress) |
| 72 | inline QString hwAddress() const |
| 73 | { |
| 74 | return qvariant_cast<QString>(v: property(name: "HwAddress" )); |
| 75 | } |
| 76 | |
| 77 | Q_PROPERTY(QList<QDBusObjectPath> Nsps READ nsps) |
| 78 | inline QList<QDBusObjectPath> nsps() const |
| 79 | { |
| 80 | return qvariant_cast<QList<QDBusObjectPath>>(v: property(name: "Nsps" )); |
| 81 | } |
| 82 | |
| 83 | Q_PROPERTY(int Rssi READ rssi) |
| 84 | inline int () const |
| 85 | { |
| 86 | return qvariant_cast<int>(v: property(name: "Rssi" )); |
| 87 | } |
| 88 | |
| 89 | Q_PROPERTY(int TxPower READ txPower) |
| 90 | inline int txPower() const |
| 91 | { |
| 92 | return qvariant_cast<int>(v: property(name: "TxPower" )); |
| 93 | } |
| 94 | |
| 95 | public Q_SLOTS: // METHODS |
| 96 | inline QDBusPendingReply<QList<QDBusObjectPath>> GetNspList() |
| 97 | { |
| 98 | QList<QVariant> argumentList; |
| 99 | return asyncCallWithArgumentList(QStringLiteral("GetNspList" ), args: argumentList); |
| 100 | } |
| 101 | |
| 102 | Q_SIGNALS: // SIGNALS |
| 103 | void NspAdded(const QDBusObjectPath &nsp); |
| 104 | void NspRemoved(const QDBusObjectPath &nsp); |
| 105 | void PropertiesChanged(const QVariantMap &properties); |
| 106 | }; |
| 107 | |
| 108 | #endif |
| 109 | |