NetworkManagerQt

wirelessdeviceinterface.h
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 */
27class OrgFreedesktopNetworkManagerDeviceWirelessInterface : public QDBusAbstractInterface
28{
30public:
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
42public:
43 OrgFreedesktopNetworkManagerDeviceWirelessInterface(const QString &service,
44 const QString &path,
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>>(property("AccessPoints"));
54 }
55
56 Q_PROPERTY(QDBusObjectPath ActiveAccessPoint READ activeAccessPoint)
57 inline QDBusObjectPath activeAccessPoint() const
58 {
59 return qvariant_cast<QDBusObjectPath>(property("ActiveAccessPoint"));
60 }
61
62 Q_PROPERTY(uint Bitrate READ bitrate)
63 inline uint bitrate() const
64 {
65 return qvariant_cast<uint>(property("Bitrate"));
66 }
67
68 Q_PROPERTY(QString HwAddress READ hwAddress)
69 inline QString hwAddress() const
70 {
71 return qvariant_cast<QString>(property("HwAddress"));
72 }
73
74 Q_PROPERTY(uint Mode READ mode)
75 inline uint mode() const
76 {
77 return qvariant_cast<uint>(property("Mode"));
78 }
79
80 Q_PROPERTY(QString PermHwAddress READ permHwAddress)
81 inline QString permHwAddress() const
82 {
83 return qvariant_cast<QString>(property("PermHwAddress"));
84 }
85
86 Q_PROPERTY(uint WirelessCapabilities READ wirelessCapabilities)
87 inline uint wirelessCapabilities() const
88 {
89 return qvariant_cast<uint>(property("WirelessCapabilities"));
90 }
91
92public Q_SLOTS: // METHODS
93 inline QDBusPendingReply<QList<QDBusObjectPath>> GetAccessPoints()
94 {
95 QList<QVariant> argumentList;
96 return asyncCallWithArgumentList(QStringLiteral("GetAccessPoints"), argumentList);
97 }
98
99 inline QDBusPendingReply<QList<QDBusObjectPath>> GetAllAccessPoints()
100 {
101 QList<QVariant> argumentList;
102 return asyncCallWithArgumentList(QStringLiteral("GetAllAccessPoints"), argumentList);
103 }
104
105 inline QDBusPendingReply<> RequestScan(const QVariantMap &options)
106 {
107 QList<QVariant> argumentList;
108 argumentList << QVariant::fromValue(options);
109 return asyncCallWithArgumentList(QStringLiteral("RequestScan"), argumentList);
110 }
111
112Q_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
QDBusPendingCall asyncCallWithArgumentList(const QString &method, const QList< QVariant > &args)
QDBusConnection connection() const const
QString path() const const
QString service() const const
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
QVariant property(const char *name) const const
QVariant fromValue(T &&value)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:46:15 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.