| 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 WIREDDEVICEINTERFACE_H |
| 12 | #define WIREDDEVICEINTERFACE_H |
| 13 | |
| 14 | #include "generictypes.h" |
| 15 | |
| 16 | #include <QDBusAbstractInterface> |
| 17 | #include <QObject> |
| 18 | #include <QString> |
| 19 | #include <QStringList> |
| 20 | #include <QVariant> |
| 21 | |
| 22 | /* |
| 23 | * Proxy class for interface org.freedesktop.NetworkManager.Device.Wired |
| 24 | */ |
| 25 | class OrgFreedesktopNetworkManagerDeviceWiredInterface : public QDBusAbstractInterface |
| 26 | { |
| 27 | Q_OBJECT |
| 28 | public: |
| 29 | static inline const char *staticInterfaceName() |
| 30 | #ifdef NMQT_STATIC |
| 31 | { |
| 32 | return "org.kde.fakenetwork.Device.Wired" ; |
| 33 | } |
| 34 | #else |
| 35 | { |
| 36 | return "org.freedesktop.NetworkManager.Device.Wired" ; |
| 37 | } |
| 38 | #endif |
| 39 | |
| 40 | public: |
| 41 | OrgFreedesktopNetworkManagerDeviceWiredInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr); |
| 42 | |
| 43 | ~OrgFreedesktopNetworkManagerDeviceWiredInterface() override; |
| 44 | |
| 45 | Q_PROPERTY(bool Carrier READ carrier) |
| 46 | inline bool carrier() const |
| 47 | { |
| 48 | return qvariant_cast<bool>(v: property(name: "Carrier" )); |
| 49 | } |
| 50 | |
| 51 | Q_PROPERTY(QString HwAddress READ hwAddress) |
| 52 | inline QString hwAddress() const |
| 53 | { |
| 54 | return qvariant_cast<QString>(v: property(name: "HwAddress" )); |
| 55 | } |
| 56 | |
| 57 | Q_PROPERTY(QString PermHwAddress READ permHwAddress) |
| 58 | inline QString permHwAddress() const |
| 59 | { |
| 60 | return qvariant_cast<QString>(v: property(name: "PermHwAddress" )); |
| 61 | } |
| 62 | |
| 63 | Q_PROPERTY(QStringList S390Subchannels READ s390Subchannels) |
| 64 | inline QStringList s390Subchannels() const |
| 65 | { |
| 66 | return qvariant_cast<QStringList>(v: property(name: "S390Subchannels" )); |
| 67 | } |
| 68 | |
| 69 | Q_PROPERTY(uint Speed READ speed) |
| 70 | inline uint speed() const |
| 71 | { |
| 72 | return qvariant_cast<uint>(v: property(name: "Speed" )); |
| 73 | } |
| 74 | |
| 75 | public Q_SLOTS: // METHODS |
| 76 | Q_SIGNALS: // SIGNALS |
| 77 | void PropertiesChanged(const QVariantMap &properties); |
| 78 | }; |
| 79 | |
| 80 | #endif |
| 81 | |