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 BRIDGEDEVICEINTERFACE_H |
12 | #define BRIDGEDEVICEINTERFACE_H |
13 | |
14 | #include "generictypes.h" |
15 | |
16 | #include <QDBusAbstractInterface> |
17 | #include <QDBusObjectPath> |
18 | #include <QList> |
19 | #include <QObject> |
20 | #include <QString> |
21 | #include <QVariant> |
22 | |
23 | /* |
24 | * Proxy class for interface org.freedesktop.NetworkManager.Device.Bridge |
25 | */ |
26 | class OrgFreedesktopNetworkManagerDeviceBridgeInterface : public QDBusAbstractInterface |
27 | { |
28 | Q_OBJECT |
29 | public: |
30 | static inline const char *staticInterfaceName() |
31 | #ifdef NMQT_STATIC |
32 | { |
33 | return "org.kde.fakenetwork.Device.Bridge" ; |
34 | } |
35 | #else |
36 | { |
37 | return "org.freedesktop.NetworkManager.Device.Bridge" ; |
38 | } |
39 | #endif |
40 | |
41 | public: |
42 | OrgFreedesktopNetworkManagerDeviceBridgeInterface(const QString &service, |
43 | const QString &path, |
44 | const QDBusConnection &connection, |
45 | QObject *parent = nullptr); |
46 | |
47 | ~OrgFreedesktopNetworkManagerDeviceBridgeInterface() override; |
48 | |
49 | Q_PROPERTY(bool Carrier READ carrier) |
50 | inline bool carrier() const |
51 | { |
52 | return qvariant_cast<bool>(v: property(name: "Carrier" )); |
53 | } |
54 | |
55 | Q_PROPERTY(QString HwAddress READ hwAddress) |
56 | inline QString hwAddress() const |
57 | { |
58 | return qvariant_cast<QString>(v: property(name: "HwAddress" )); |
59 | } |
60 | |
61 | Q_PROPERTY(QList<QDBusObjectPath> Slaves READ slaves) |
62 | inline QList<QDBusObjectPath> slaves() const |
63 | { |
64 | return qvariant_cast<QList<QDBusObjectPath>>(v: property(name: "Slaves" )); |
65 | } |
66 | |
67 | public Q_SLOTS: // METHODS |
68 | Q_SIGNALS: // SIGNALS |
69 | void PropertiesChanged(const QVariantMap &properties); |
70 | }; |
71 | |
72 | #endif |
73 | |