/* * This file was generated by qdbusxml2cpp version 0.8 * Command line was: * * qdbusxml2cpp is Copyright (C) 2016 The Qt Company Ltd. * * This is an auto-generated file. * Do not edit! All changes made to it will be lost. */ #ifndef DEVICEINTERFACE_H #define DEVICEINTERFACE_H #include "generictypes.h" #include #include #include #include #include #include #include /* * Proxy class for interface org.freedesktop.NetworkManager.Device */ class OrgFreedesktopNetworkManagerDeviceInterface : public QDBusAbstractInterface { Q_OBJECT public: static inline const char *staticInterfaceName() #ifdef NMQT_STATIC { return "org.kde.fakenetwork.Device"; } #else { return "org.freedesktop.NetworkManager.Device"; } #endif public: OrgFreedesktopNetworkManagerDeviceInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr); ~OrgFreedesktopNetworkManagerDeviceInterface() override; Q_PROPERTY(QDBusObjectPath ActiveConnection READ activeConnection) inline QDBusObjectPath activeConnection() const { return qvariant_cast(property("ActiveConnection")); } Q_PROPERTY(bool Autoconnect READ autoconnect WRITE setAutoconnect) inline bool autoconnect() const { return qvariant_cast(property("Autoconnect")); } inline void setAutoconnect(bool value) { setProperty("Autoconnect", QVariant::fromValue(value)); } Q_PROPERTY(QList AvailableConnections READ availableConnections) inline QList availableConnections() const { return qvariant_cast>(property("AvailableConnections")); } Q_PROPERTY(uint Capabilities READ capabilities) inline uint capabilities() const { return qvariant_cast(property("Capabilities")); } Q_PROPERTY(uint DeviceType READ deviceType) inline uint deviceType() const { return qvariant_cast(property("DeviceType")); } Q_PROPERTY(QDBusObjectPath Dhcp4Config READ dhcp4Config) inline QDBusObjectPath dhcp4Config() const { return qvariant_cast(property("Dhcp4Config")); } Q_PROPERTY(QDBusObjectPath Dhcp6Config READ dhcp6Config) inline QDBusObjectPath dhcp6Config() const { return qvariant_cast(property("Dhcp6Config")); } Q_PROPERTY(QString Driver READ driver) inline QString driver() const { return qvariant_cast(property("Driver")); } Q_PROPERTY(QString DriverVersion READ driverVersion) inline QString driverVersion() const { return qvariant_cast(property("DriverVersion")); } Q_PROPERTY(bool FirmwareMissing READ firmwareMissing) inline bool firmwareMissing() const { return qvariant_cast(property("FirmwareMissing")); } Q_PROPERTY(QString FirmwareVersion READ firmwareVersion) inline QString firmwareVersion() const { return qvariant_cast(property("FirmwareVersion")); } Q_PROPERTY(QString Interface READ interface) inline QString interface() const { return qvariant_cast(property("Interface")); } Q_PROPERTY(uint Ip4Address READ ip4Address) inline uint ip4Address() const { return qvariant_cast(property("Ip4Address")); } Q_PROPERTY(QDBusObjectPath Ip4Config READ ip4Config) inline QDBusObjectPath ip4Config() const { return qvariant_cast(property("Ip4Config")); } Q_PROPERTY(QDBusObjectPath Ip6Config READ ip6Config) inline QDBusObjectPath ip6Config() const { return qvariant_cast(property("Ip6Config")); } Q_PROPERTY(QString IpInterface READ ipInterface) inline QString ipInterface() const { return qvariant_cast(property("IpInterface")); } Q_PROPERTY(uint InterfaceFlags READ interfaceFlags) inline uint interfaceFlags() const { return qvariant_cast(property("InterfaceFlags")); } Q_PROPERTY(NMVariantMapList LldpNeighbors READ lldpNeighbors) inline NMVariantMapList lldpNeighbors() const { return qvariant_cast(property("LldpNeighbors")); } Q_PROPERTY(bool Managed READ managed WRITE setManaged) inline bool managed() const { return qvariant_cast(property("Managed")); } inline void setManaged(bool value) { setProperty("Managed", QVariant::fromValue(value)); } Q_PROPERTY(uint Metered READ metered) inline uint metered() const { return qvariant_cast(property("Metered")); } Q_PROPERTY(uint Mtu READ mtu) inline uint mtu() const { return qvariant_cast(property("Mtu")); } Q_PROPERTY(bool NmPluginMissing READ nmPluginMissing) inline bool nmPluginMissing() const { return qvariant_cast(property("NmPluginMissing")); } Q_PROPERTY(QString PhysicalPortId READ physicalPortId) inline QString physicalPortId() const { return qvariant_cast(property("PhysicalPortId")); } Q_PROPERTY(bool Real READ real) inline bool real() const { return qvariant_cast(property("Real")); } Q_PROPERTY(uint State READ state) inline uint state() const { return qvariant_cast(property("State")); } Q_PROPERTY(DeviceDBusStateReason StateReason READ stateReason) inline DeviceDBusStateReason stateReason() const { return qvariant_cast(property("StateReason")); } Q_PROPERTY(QString Udi READ udi) inline QString udi() const { return qvariant_cast(property("Udi")); } public Q_SLOTS: // METHODS inline QDBusPendingReply<> Delete() { QList argumentList; return asyncCallWithArgumentList(QStringLiteral("Delete"), argumentList); } inline QDBusPendingReply<> Disconnect() { QList argumentList; return asyncCallWithArgumentList(QStringLiteral("Disconnect"), argumentList); } inline QDBusPendingReply GetAppliedConnection(uint flags) { QList argumentList; argumentList << QVariant::fromValue(flags); return asyncCallWithArgumentList(QStringLiteral("GetAppliedConnection"), argumentList); } inline QDBusPendingReply<> Reapply(NMVariantMapMap connection, qulonglong version_id, uint flags) { QList argumentList; argumentList << QVariant::fromValue(connection) << QVariant::fromValue(version_id) << QVariant::fromValue(flags); return asyncCallWithArgumentList(QStringLiteral("Reapply"), argumentList); } Q_SIGNALS: // SIGNALS void StateChanged(uint new_state, uint old_state, uint reason); }; #endif