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