| 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 IPTUNNELDEVICEINTERFACE_H |
| 12 | #define IPTUNNELDEVICEINTERFACE_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.IPTunnel |
| 24 | */ |
| 25 | class OrgFreedesktopNetworkManagerDeviceIPTunnelInterface : 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.IPTunnel" ; |
| 33 | } |
| 34 | #else |
| 35 | { |
| 36 | return "org.freedesktop.NetworkManager.Device.IPTunnel" ; |
| 37 | } |
| 38 | #endif |
| 39 | public: |
| 40 | OrgFreedesktopNetworkManagerDeviceIPTunnelInterface(const QString &service, |
| 41 | const QString &path, |
| 42 | const QDBusConnection &connection, |
| 43 | QObject *parent = nullptr); |
| 44 | |
| 45 | ~OrgFreedesktopNetworkManagerDeviceIPTunnelInterface() override; |
| 46 | |
| 47 | Q_PROPERTY(uchar EncapsulationLimit READ encapsulationLimit) |
| 48 | inline uchar encapsulationLimit() const |
| 49 | { |
| 50 | return qvariant_cast<uchar>(v: property(name: "EncapsulationLimit" )); |
| 51 | } |
| 52 | |
| 53 | Q_PROPERTY(uint FlowLabel READ flowLabel) |
| 54 | inline uint flowLabel() const |
| 55 | { |
| 56 | return qvariant_cast<uint>(v: property(name: "FlowLabel" )); |
| 57 | } |
| 58 | |
| 59 | Q_PROPERTY(QString InputKey READ inputKey) |
| 60 | inline QString inputKey() const |
| 61 | { |
| 62 | return qvariant_cast<QString>(v: property(name: "InputKey" )); |
| 63 | } |
| 64 | |
| 65 | Q_PROPERTY(QString Local READ local) |
| 66 | inline QString local() const |
| 67 | { |
| 68 | return qvariant_cast<QString>(v: property(name: "Local" )); |
| 69 | } |
| 70 | |
| 71 | Q_PROPERTY(uint Mode READ mode) |
| 72 | inline uint mode() const |
| 73 | { |
| 74 | return qvariant_cast<uint>(v: property(name: "Mode" )); |
| 75 | } |
| 76 | |
| 77 | Q_PROPERTY(QString OutputKey READ outputKey) |
| 78 | inline QString outputKey() const |
| 79 | { |
| 80 | return qvariant_cast<QString>(v: property(name: "OutputKey" )); |
| 81 | } |
| 82 | |
| 83 | Q_PROPERTY(QDBusObjectPath Parent READ parent) |
| 84 | inline QDBusObjectPath parent() const |
| 85 | { |
| 86 | return qvariant_cast<QDBusObjectPath>(v: property(name: "Parent" )); |
| 87 | } |
| 88 | |
| 89 | Q_PROPERTY(bool PathMtuDiscovery READ pathMtuDiscovery) |
| 90 | inline bool pathMtuDiscovery() const |
| 91 | { |
| 92 | return qvariant_cast<bool>(v: property(name: "PathMtuDiscovery" )); |
| 93 | } |
| 94 | |
| 95 | Q_PROPERTY(QString Remote READ remote) |
| 96 | inline QString remote() const |
| 97 | { |
| 98 | return qvariant_cast<QString>(v: property(name: "Remote" )); |
| 99 | } |
| 100 | |
| 101 | Q_PROPERTY(uchar Tos READ tos) |
| 102 | inline uchar tos() const |
| 103 | { |
| 104 | return qvariant_cast<uchar>(v: property(name: "Tos" )); |
| 105 | } |
| 106 | |
| 107 | Q_PROPERTY(uchar Ttl READ ttl) |
| 108 | inline uchar ttl() const |
| 109 | { |
| 110 | return qvariant_cast<uchar>(v: property(name: "Ttl" )); |
| 111 | } |
| 112 | |
| 113 | public Q_SLOTS: // METHODS |
| 114 | Q_SIGNALS: // SIGNALS |
| 115 | void PropertiesChanged(const QVariantMap &properties); |
| 116 | }; |
| 117 | |
| 118 | #endif |
| 119 | |