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 WIRELESSDEVICEINTERFACE_H |
12 | #define WIRELESSDEVICEINTERFACE_H |
13 | |
14 | #include "generictypes.h" |
15 | |
16 | #include <QDBusAbstractInterface> |
17 | #include <QDBusObjectPath> |
18 | #include <QDBusPendingReply> |
19 | #include <QList> |
20 | #include <QObject> |
21 | #include <QString> |
22 | #include <QVariant> |
23 | |
24 | /* |
25 | * Proxy class for interface org.freedesktop.NetworkManager.Device.Wireless |
26 | */ |
27 | class OrgFreedesktopNetworkManagerDeviceWirelessInterface : public QDBusAbstractInterface |
28 | { |
29 | Q_OBJECT |
30 | public: |
31 | static inline const char *staticInterfaceName() |
32 | #ifdef NMQT_STATIC |
33 | { |
34 | return "org.kde.fakenetwork.Device.Wireless" ; |
35 | } |
36 | #else |
37 | { |
38 | return "org.freedesktop.NetworkManager.Device.Wireless" ; |
39 | } |
40 | #endif |
41 | |
42 | public: |
43 | OrgFreedesktopNetworkManagerDeviceWirelessInterface(const QString &service, |
44 | const QString &path, |
45 | const QDBusConnection &connection, |
46 | QObject *parent = nullptr); |
47 | |
48 | ~OrgFreedesktopNetworkManagerDeviceWirelessInterface() override; |
49 | |
50 | Q_PROPERTY(QList<QDBusObjectPath> AccessPoints READ accessPoints) |
51 | inline QList<QDBusObjectPath> accessPoints() const |
52 | { |
53 | return qvariant_cast<QList<QDBusObjectPath>>(v: property(name: "AccessPoints" )); |
54 | } |
55 | |
56 | Q_PROPERTY(QDBusObjectPath ActiveAccessPoint READ activeAccessPoint) |
57 | inline QDBusObjectPath activeAccessPoint() const |
58 | { |
59 | return qvariant_cast<QDBusObjectPath>(v: property(name: "ActiveAccessPoint" )); |
60 | } |
61 | |
62 | Q_PROPERTY(uint Bitrate READ bitrate) |
63 | inline uint bitrate() const |
64 | { |
65 | return qvariant_cast<uint>(v: property(name: "Bitrate" )); |
66 | } |
67 | |
68 | Q_PROPERTY(QString HwAddress READ hwAddress) |
69 | inline QString hwAddress() const |
70 | { |
71 | return qvariant_cast<QString>(v: property(name: "HwAddress" )); |
72 | } |
73 | |
74 | Q_PROPERTY(uint Mode READ mode) |
75 | inline uint mode() const |
76 | { |
77 | return qvariant_cast<uint>(v: property(name: "Mode" )); |
78 | } |
79 | |
80 | Q_PROPERTY(QString PermHwAddress READ permHwAddress) |
81 | inline QString permHwAddress() const |
82 | { |
83 | return qvariant_cast<QString>(v: property(name: "PermHwAddress" )); |
84 | } |
85 | |
86 | Q_PROPERTY(uint WirelessCapabilities READ wirelessCapabilities) |
87 | inline uint wirelessCapabilities() const |
88 | { |
89 | return qvariant_cast<uint>(v: property(name: "WirelessCapabilities" )); |
90 | } |
91 | |
92 | public Q_SLOTS: // METHODS |
93 | inline QDBusPendingReply<QList<QDBusObjectPath>> GetAccessPoints() |
94 | { |
95 | QList<QVariant> argumentList; |
96 | return asyncCallWithArgumentList(QStringLiteral("GetAccessPoints" ), args: argumentList); |
97 | } |
98 | |
99 | inline QDBusPendingReply<QList<QDBusObjectPath>> GetAllAccessPoints() |
100 | { |
101 | QList<QVariant> argumentList; |
102 | return asyncCallWithArgumentList(QStringLiteral("GetAllAccessPoints" ), args: argumentList); |
103 | } |
104 | |
105 | inline QDBusPendingReply<> RequestScan(const QVariantMap &options) |
106 | { |
107 | QList<QVariant> argumentList; |
108 | argumentList << QVariant::fromValue(value: options); |
109 | return asyncCallWithArgumentList(QStringLiteral("RequestScan" ), args: argumentList); |
110 | } |
111 | |
112 | Q_SIGNALS: // SIGNALS |
113 | void AccessPointAdded(const QDBusObjectPath &access_point); |
114 | void AccessPointRemoved(const QDBusObjectPath &access_point); |
115 | void PropertiesChanged(const QVariantMap &properties); |
116 | }; |
117 | |
118 | #endif |
119 | |