| 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 IP4CONFIGINTERFACE_H |
| 12 | #define IP4CONFIGINTERFACE_H |
| 13 | |
| 14 | #include "generictypes.h" |
| 15 | |
| 16 | #include <QDBusAbstractInterface> |
| 17 | #include <QObject> |
| 18 | #include <QString> |
| 19 | #include <QStringList> |
| 20 | #include <QVariant> |
| 21 | |
| 22 | /* |
| 23 | * Proxy class for interface org.freedesktop.NetworkManager.IP4Config |
| 24 | */ |
| 25 | class OrgFreedesktopNetworkManagerIP4ConfigInterface : public QDBusAbstractInterface |
| 26 | { |
| 27 | Q_OBJECT |
| 28 | public: |
| 29 | static inline const char *staticInterfaceName() |
| 30 | #ifdef NMQT_STATIC |
| 31 | { |
| 32 | return "org.kde.fakenetwork.IP4Config" ; |
| 33 | } |
| 34 | #else |
| 35 | { |
| 36 | return "org.freedesktop.NetworkManager.IP4Config" ; |
| 37 | } |
| 38 | #endif |
| 39 | |
| 40 | public: |
| 41 | OrgFreedesktopNetworkManagerIP4ConfigInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr); |
| 42 | |
| 43 | ~OrgFreedesktopNetworkManagerIP4ConfigInterface() override; |
| 44 | |
| 45 | Q_PROPERTY(NMVariantMapList AddressData READ addressData) |
| 46 | inline NMVariantMapList addressData() const |
| 47 | { |
| 48 | return qvariant_cast<NMVariantMapList>(v: property(name: "AddressData" )); |
| 49 | } |
| 50 | |
| 51 | Q_PROPERTY(UIntListList Addresses READ addresses) |
| 52 | inline UIntListList addresses() const |
| 53 | { |
| 54 | return qvariant_cast<UIntListList>(v: property(name: "Addresses" )); |
| 55 | } |
| 56 | |
| 57 | Q_PROPERTY(QStringList DnsOptions READ dnsOptions) |
| 58 | inline QStringList dnsOptions() const |
| 59 | { |
| 60 | return qvariant_cast<QStringList>(v: property(name: "DnsOptions" )); |
| 61 | } |
| 62 | |
| 63 | Q_PROPERTY(int DnsPriority READ dnsPriority) |
| 64 | inline int dnsPriority() const |
| 65 | { |
| 66 | return qvariant_cast<int>(v: property(name: "DnsPriority" )); |
| 67 | } |
| 68 | |
| 69 | Q_PROPERTY(QStringList Domains READ domains) |
| 70 | inline QStringList domains() const |
| 71 | { |
| 72 | return qvariant_cast<QStringList>(v: property(name: "Domains" )); |
| 73 | } |
| 74 | |
| 75 | Q_PROPERTY(QString Gateway READ gateway) |
| 76 | inline QString gateway() const |
| 77 | { |
| 78 | return qvariant_cast<QString>(v: property(name: "Gateway" )); |
| 79 | } |
| 80 | |
| 81 | Q_PROPERTY(UIntList Nameservers READ nameservers) |
| 82 | inline UIntList nameservers() const |
| 83 | { |
| 84 | return qvariant_cast<UIntList>(v: property(name: "Nameservers" )); |
| 85 | } |
| 86 | |
| 87 | Q_PROPERTY(NMVariantMapList RouteData READ routeData) |
| 88 | inline NMVariantMapList routeData() const |
| 89 | { |
| 90 | return qvariant_cast<NMVariantMapList>(v: property(name: "RouteData" )); |
| 91 | } |
| 92 | |
| 93 | Q_PROPERTY(UIntListList Routes READ routes) |
| 94 | inline UIntListList routes() const |
| 95 | { |
| 96 | return qvariant_cast<UIntListList>(v: property(name: "Routes" )); |
| 97 | } |
| 98 | |
| 99 | Q_PROPERTY(QStringList Searches READ searches) |
| 100 | inline QStringList searches() const |
| 101 | { |
| 102 | return qvariant_cast<QStringList>(v: property(name: "Searches" )); |
| 103 | } |
| 104 | |
| 105 | Q_PROPERTY(UIntList WinsServers READ winsServers) |
| 106 | inline UIntList winsServers() const |
| 107 | { |
| 108 | return qvariant_cast<UIntList>(v: property(name: "WinsServers" )); |
| 109 | } |
| 110 | |
| 111 | public Q_SLOTS: // METHODS |
| 112 | Q_SIGNALS: // SIGNALS |
| 113 | void PropertiesChanged(const QVariantMap &properties); |
| 114 | }; |
| 115 | |
| 116 | #endif |
| 117 | |