| 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 VXLANDEVICEINTERFACE_H |
| 12 | #define VXLANDEVICEINTERFACE_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.Vxlan |
| 24 | */ |
| 25 | class OrgFreedesktopNetworkManagerDeviceVxlanInterface : 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.Vxlan" ; |
| 33 | } |
| 34 | #else |
| 35 | { |
| 36 | return "org.freedesktop.NetworkManager.Device.Vxlan" ; |
| 37 | } |
| 38 | #endif |
| 39 | |
| 40 | public: |
| 41 | OrgFreedesktopNetworkManagerDeviceVxlanInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr); |
| 42 | |
| 43 | ~OrgFreedesktopNetworkManagerDeviceVxlanInterface() override; |
| 44 | |
| 45 | Q_PROPERTY(uint Ageing READ ageing) |
| 46 | inline uint ageing() const |
| 47 | { |
| 48 | return qvariant_cast<uint>(v: property(name: "Ageing" )); |
| 49 | } |
| 50 | |
| 51 | Q_PROPERTY(ushort DstPort READ dstPort) |
| 52 | inline ushort dstPort() const |
| 53 | { |
| 54 | return qvariant_cast<ushort>(v: property(name: "DstPort" )); |
| 55 | } |
| 56 | |
| 57 | Q_PROPERTY(QString Group READ group) |
| 58 | inline QString group() const |
| 59 | { |
| 60 | return qvariant_cast<QString>(v: property(name: "Group" )); |
| 61 | } |
| 62 | |
| 63 | Q_PROPERTY(QString HwAddress READ hwAddress) |
| 64 | inline QString hwAddress() const |
| 65 | { |
| 66 | return qvariant_cast<QString>(v: property(name: "HwAddress" )); |
| 67 | } |
| 68 | |
| 69 | Q_PROPERTY(uint Id READ id) |
| 70 | inline uint id() const |
| 71 | { |
| 72 | return qvariant_cast<uint>(v: property(name: "Id" )); |
| 73 | } |
| 74 | |
| 75 | Q_PROPERTY(bool L2miss READ l2miss) |
| 76 | inline bool l2miss() const |
| 77 | { |
| 78 | return qvariant_cast<bool>(v: property(name: "L2miss" )); |
| 79 | } |
| 80 | |
| 81 | Q_PROPERTY(bool L3miss READ l3miss) |
| 82 | inline bool l3miss() const |
| 83 | { |
| 84 | return qvariant_cast<bool>(v: property(name: "L3miss" )); |
| 85 | } |
| 86 | |
| 87 | Q_PROPERTY(bool Learning READ learning) |
| 88 | inline bool learning() const |
| 89 | { |
| 90 | return qvariant_cast<bool>(v: property(name: "Learning" )); |
| 91 | } |
| 92 | |
| 93 | Q_PROPERTY(uint Limit READ limit) |
| 94 | inline uint limit() const |
| 95 | { |
| 96 | return qvariant_cast<uint>(v: property(name: "Limit" )); |
| 97 | } |
| 98 | |
| 99 | Q_PROPERTY(QString Local READ local) |
| 100 | inline QString local() const |
| 101 | { |
| 102 | return qvariant_cast<QString>(v: property(name: "Local" )); |
| 103 | } |
| 104 | |
| 105 | Q_PROPERTY(QDBusObjectPath Parent READ parent) |
| 106 | inline QDBusObjectPath parent() const |
| 107 | { |
| 108 | return qvariant_cast<QDBusObjectPath>(v: property(name: "Parent" )); |
| 109 | } |
| 110 | |
| 111 | Q_PROPERTY(bool Proxy READ proxy) |
| 112 | inline bool proxy() const |
| 113 | { |
| 114 | return qvariant_cast<bool>(v: property(name: "Proxy" )); |
| 115 | } |
| 116 | |
| 117 | Q_PROPERTY(bool Rsc READ rsc) |
| 118 | inline bool rsc() const |
| 119 | { |
| 120 | return qvariant_cast<bool>(v: property(name: "Rsc" )); |
| 121 | } |
| 122 | |
| 123 | Q_PROPERTY(ushort SrcPortMax READ srcPortMax) |
| 124 | inline ushort srcPortMax() const |
| 125 | { |
| 126 | return qvariant_cast<ushort>(v: property(name: "SrcPortMax" )); |
| 127 | } |
| 128 | |
| 129 | Q_PROPERTY(ushort SrcPortMin READ srcPortMin) |
| 130 | inline ushort srcPortMin() const |
| 131 | { |
| 132 | return qvariant_cast<ushort>(v: property(name: "SrcPortMin" )); |
| 133 | } |
| 134 | |
| 135 | Q_PROPERTY(uchar Tos READ tos) |
| 136 | inline uchar tos() const |
| 137 | { |
| 138 | return qvariant_cast<uchar>(v: property(name: "Tos" )); |
| 139 | } |
| 140 | |
| 141 | Q_PROPERTY(uchar Ttl READ ttl) |
| 142 | inline uchar ttl() const |
| 143 | { |
| 144 | return qvariant_cast<uchar>(v: property(name: "Ttl" )); |
| 145 | } |
| 146 | |
| 147 | public Q_SLOTS: // METHODS |
| 148 | Q_SIGNALS: // SIGNALS |
| 149 | void PropertiesChanged(const QVariantMap &properties); |
| 150 | }; |
| 151 | |
| 152 | #endif |
| 153 | |