File indexing completed on 2024-12-01 12:40:55
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 BONDDEVICEINTERFACE_H 0012 #define BONDDEVICEINTERFACE_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.Bond 0025 */ 0026 class OrgFreedesktopNetworkManagerDeviceBondInterface : 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.Bond"; 0034 } 0035 #else 0036 { 0037 return "org.freedesktop.NetworkManager.Device.Bond"; 0038 } 0039 #endif 0040 0041 public: 0042 OrgFreedesktopNetworkManagerDeviceBondInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr); 0043 0044 ~OrgFreedesktopNetworkManagerDeviceBondInterface() override; 0045 0046 Q_PROPERTY(bool Carrier READ carrier) 0047 inline bool carrier() const 0048 { 0049 return qvariant_cast<bool>(property("Carrier")); 0050 } 0051 0052 Q_PROPERTY(QString HwAddress READ hwAddress) 0053 inline QString hwAddress() const 0054 { 0055 return qvariant_cast<QString>(property("HwAddress")); 0056 } 0057 0058 Q_PROPERTY(QList<QDBusObjectPath> Slaves READ slaves) 0059 inline QList<QDBusObjectPath> slaves() const 0060 { 0061 return qvariant_cast<QList<QDBusObjectPath>>(property("Slaves")); 0062 } 0063 0064 public Q_SLOTS: // METHODS 0065 Q_SIGNALS: // SIGNALS 0066 void PropertiesChanged(const QVariantMap &properties); 0067 }; 0068 0069 #endif