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 VLANDEVICEINTERFACE_H |
12 | #define VLANDEVICEINTERFACE_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.Vlan |
24 | */ |
25 | class OrgFreedesktopNetworkManagerDeviceVlanInterface : 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.Vlan" ; |
33 | } |
34 | #else |
35 | { |
36 | return "org.freedesktop.NetworkManager.Device.Vlan" ; |
37 | } |
38 | #endif |
39 | |
40 | public: |
41 | OrgFreedesktopNetworkManagerDeviceVlanInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr); |
42 | |
43 | ~OrgFreedesktopNetworkManagerDeviceVlanInterface() override; |
44 | |
45 | Q_PROPERTY(bool Carrier READ carrier) |
46 | inline bool carrier() const |
47 | { |
48 | return qvariant_cast<bool>(v: property(name: "Carrier" )); |
49 | } |
50 | |
51 | Q_PROPERTY(QString HwAddress READ hwAddress) |
52 | inline QString hwAddress() const |
53 | { |
54 | return qvariant_cast<QString>(v: property(name: "HwAddress" )); |
55 | } |
56 | |
57 | Q_PROPERTY(QDBusObjectPath Parent READ parent) |
58 | inline QDBusObjectPath parent() const |
59 | { |
60 | return qvariant_cast<QDBusObjectPath>(v: property(name: "Parent" )); |
61 | } |
62 | |
63 | Q_PROPERTY(uint VlanId READ vlanId) |
64 | inline uint vlanId() const |
65 | { |
66 | return qvariant_cast<uint>(v: property(name: "VlanId" )); |
67 | } |
68 | |
69 | public Q_SLOTS: // METHODS |
70 | Q_SIGNALS: // SIGNALS |
71 | void PropertiesChanged(const QVariantMap &properties); |
72 | }; |
73 | |
74 | #endif |
75 | |