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