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