File indexing completed on 2025-03-16 12:58:10
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 BRIDGEDEVICEINTERFACE_H 0012 #define BRIDGEDEVICEINTERFACE_H 0013 0014 #include "generictypes.h" 0015 0016 #include <QDBusAbstractInterface> 0017 #include <QDBusObjectPath> 0018 #include <QList> 0019 #include <QObject> 0020 #include <QString> 0021 #include <QVariant> 0022 0023 /* 0024 * Proxy class for interface org.freedesktop.NetworkManager.Device.Bridge 0025 */ 0026 class OrgFreedesktopNetworkManagerDeviceBridgeInterface : public QDBusAbstractInterface 0027 { 0028 Q_OBJECT 0029 public: 0030 static inline const char *staticInterfaceName() 0031 #ifdef NMQT_STATIC 0032 { 0033 return "org.kde.fakenetwork.Device.Bridge"; 0034 } 0035 #else 0036 { 0037 return "org.freedesktop.NetworkManager.Device.Bridge"; 0038 } 0039 #endif 0040 0041 public: 0042 OrgFreedesktopNetworkManagerDeviceBridgeInterface(const QString &service, 0043 const QString &path, 0044 const QDBusConnection &connection, 0045 QObject *parent = nullptr); 0046 0047 ~OrgFreedesktopNetworkManagerDeviceBridgeInterface() override; 0048 0049 Q_PROPERTY(bool Carrier READ carrier) 0050 inline bool carrier() const 0051 { 0052 return qvariant_cast<bool>(property("Carrier")); 0053 } 0054 0055 Q_PROPERTY(QString HwAddress READ hwAddress) 0056 inline QString hwAddress() const 0057 { 0058 return qvariant_cast<QString>(property("HwAddress")); 0059 } 0060 0061 Q_PROPERTY(QList<QDBusObjectPath> Slaves READ slaves) 0062 inline QList<QDBusObjectPath> slaves() const 0063 { 0064 return qvariant_cast<QList<QDBusObjectPath>>(property("Slaves")); 0065 } 0066 0067 public Q_SLOTS: // METHODS 0068 Q_SIGNALS: // SIGNALS 0069 void PropertiesChanged(const QVariantMap &properties); 0070 }; 0071 0072 #endif