File indexing completed on 2024-06-23 10:42:28

0001 /*
0002  * This file was generated by qdbusxml2cpp version 0.8
0003  * Command line was:
0004  *
0005  * qdbusxml2cpp is Copyright (C) 2016 The Qt Company Ltd.
0006  *
0007  * This is an auto-generated file.
0008  * Do not edit! All changes made to it will be lost.
0009  */
0010 
0011 #ifndef WIRELESSDEVICEINTERFACE_H
0012 #define WIRELESSDEVICEINTERFACE_H
0013 
0014 #include "generictypes.h"
0015 
0016 #include <QDBusAbstractInterface>
0017 #include <QDBusObjectPath>
0018 #include <QDBusPendingReply>
0019 #include <QList>
0020 #include <QObject>
0021 #include <QString>
0022 #include <QVariant>
0023 
0024 /*
0025  * Proxy class for interface org.freedesktop.NetworkManager.Device.Wireless
0026  */
0027 class OrgFreedesktopNetworkManagerDeviceWirelessInterface : public QDBusAbstractInterface
0028 {
0029     Q_OBJECT
0030 public:
0031     static inline const char *staticInterfaceName()
0032 #ifdef NMQT_STATIC
0033     {
0034         return "org.kde.fakenetwork.Device.Wireless";
0035     }
0036 #else
0037     {
0038         return "org.freedesktop.NetworkManager.Device.Wireless";
0039     }
0040 #endif
0041 
0042 public:
0043     OrgFreedesktopNetworkManagerDeviceWirelessInterface(const QString &service,
0044                                                         const QString &path,
0045                                                         const QDBusConnection &connection,
0046                                                         QObject *parent = nullptr);
0047 
0048     ~OrgFreedesktopNetworkManagerDeviceWirelessInterface() override;
0049 
0050     Q_PROPERTY(QList<QDBusObjectPath> AccessPoints READ accessPoints)
0051     inline QList<QDBusObjectPath> accessPoints() const
0052     {
0053         return qvariant_cast<QList<QDBusObjectPath>>(property("AccessPoints"));
0054     }
0055 
0056     Q_PROPERTY(QDBusObjectPath ActiveAccessPoint READ activeAccessPoint)
0057     inline QDBusObjectPath activeAccessPoint() const
0058     {
0059         return qvariant_cast<QDBusObjectPath>(property("ActiveAccessPoint"));
0060     }
0061 
0062     Q_PROPERTY(uint Bitrate READ bitrate)
0063     inline uint bitrate() const
0064     {
0065         return qvariant_cast<uint>(property("Bitrate"));
0066     }
0067 
0068     Q_PROPERTY(QString HwAddress READ hwAddress)
0069     inline QString hwAddress() const
0070     {
0071         return qvariant_cast<QString>(property("HwAddress"));
0072     }
0073 
0074     Q_PROPERTY(uint Mode READ mode)
0075     inline uint mode() const
0076     {
0077         return qvariant_cast<uint>(property("Mode"));
0078     }
0079 
0080     Q_PROPERTY(QString PermHwAddress READ permHwAddress)
0081     inline QString permHwAddress() const
0082     {
0083         return qvariant_cast<QString>(property("PermHwAddress"));
0084     }
0085 
0086     Q_PROPERTY(uint WirelessCapabilities READ wirelessCapabilities)
0087     inline uint wirelessCapabilities() const
0088     {
0089         return qvariant_cast<uint>(property("WirelessCapabilities"));
0090     }
0091 
0092 public Q_SLOTS: // METHODS
0093     inline QDBusPendingReply<QList<QDBusObjectPath>> GetAccessPoints()
0094     {
0095         QList<QVariant> argumentList;
0096         return asyncCallWithArgumentList(QStringLiteral("GetAccessPoints"), argumentList);
0097     }
0098 
0099     inline QDBusPendingReply<QList<QDBusObjectPath>> GetAllAccessPoints()
0100     {
0101         QList<QVariant> argumentList;
0102         return asyncCallWithArgumentList(QStringLiteral("GetAllAccessPoints"), argumentList);
0103     }
0104 
0105     inline QDBusPendingReply<> RequestScan(const QVariantMap &options)
0106     {
0107         QList<QVariant> argumentList;
0108         argumentList << QVariant::fromValue(options);
0109         return asyncCallWithArgumentList(QStringLiteral("RequestScan"), argumentList);
0110     }
0111 
0112 Q_SIGNALS: // SIGNALS
0113     void AccessPointAdded(const QDBusObjectPath &access_point);
0114     void AccessPointRemoved(const QDBusObjectPath &access_point);
0115     void PropertiesChanged(const QVariantMap &properties);
0116 };
0117 
0118 #endif