/* * 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 NETWORKMANAGERINTERFACE_H #define NETWORKMANAGERINTERFACE_H #include "generictypes.h" #include #include #include #include #include #include #include /* * Proxy class for interface org.freedesktop.NetworkManager */ class OrgFreedesktopNetworkManagerInterface : public QDBusAbstractInterface { Q_OBJECT public: static inline const char *staticInterfaceName() #ifdef NMQT_STATIC { return "org.kde.fakenetwork"; } #else { return "org.freedesktop.NetworkManager"; } #endif public: OrgFreedesktopNetworkManagerInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr); ~OrgFreedesktopNetworkManagerInterface() override; Q_PROPERTY(QDBusObjectPath ActivatingConnection READ activatingConnection) inline QDBusObjectPath activatingConnection() const { return qvariant_cast(property("ActivatingConnection")); } Q_PROPERTY(QList ActiveConnections READ activeConnections) inline QList activeConnections() const { return qvariant_cast>(property("ActiveConnections")); } Q_PROPERTY(QList AllDevices READ allDevices) inline QList allDevices() const { return qvariant_cast>(property("AllDevices")); } Q_PROPERTY(UIntList Capabilities READ capabilities) inline UIntList capabilities() const { return qvariant_cast(property("Capabilities")); } Q_PROPERTY(uint Connectivity READ connectivity) inline uint connectivity() const { return qvariant_cast(property("Connectivity")); } Q_PROPERTY(QList Devices READ devices) inline QList devices() const { return qvariant_cast>(property("Devices")); } Q_PROPERTY(QVariantMap GlobalDnsConfiguration READ globalDnsConfiguration WRITE setGlobalDnsConfiguration) inline QVariantMap globalDnsConfiguration() const { return qvariant_cast(property("GlobalDnsConfiguration")); } inline void setGlobalDnsConfiguration(QVariantMap value) { setProperty("GlobalDnsConfiguration", QVariant::fromValue(value)); } Q_PROPERTY(uint Metered READ metered) inline uint metered() const { return qvariant_cast(property("Metered")); } Q_PROPERTY(bool NetworkingEnabled READ networkingEnabled) inline bool networkingEnabled() const { return qvariant_cast(property("NetworkingEnabled")); } Q_PROPERTY(QDBusObjectPath PrimaryConnection READ primaryConnection) inline QDBusObjectPath primaryConnection() const { return qvariant_cast(property("PrimaryConnection")); } Q_PROPERTY(QString PrimaryConnectionType READ primaryConnectionType) inline QString primaryConnectionType() const { return qvariant_cast(property("PrimaryConnectionType")); } Q_PROPERTY(bool Startup READ startup) inline bool startup() const { return qvariant_cast(property("Startup")); } Q_PROPERTY(uint State READ state) inline uint state() const { return qvariant_cast(property("State")); } Q_PROPERTY(QString Version READ version) inline QString version() const { return qvariant_cast(property("Version")); } Q_PROPERTY(bool WimaxEnabled READ wimaxEnabled WRITE setWimaxEnabled) inline bool wimaxEnabled() const { return qvariant_cast(property("WimaxEnabled")); } inline void setWimaxEnabled(bool value) { setProperty("WimaxEnabled", QVariant::fromValue(value)); } Q_PROPERTY(bool WimaxHardwareEnabled READ wimaxHardwareEnabled) inline bool wimaxHardwareEnabled() const { return qvariant_cast(property("WimaxHardwareEnabled")); } Q_PROPERTY(bool WirelessEnabled READ wirelessEnabled WRITE setWirelessEnabled) inline bool wirelessEnabled() const { return qvariant_cast(property("WirelessEnabled")); } inline void setWirelessEnabled(bool value) { setProperty("WirelessEnabled", QVariant::fromValue(value)); } Q_PROPERTY(bool WirelessHardwareEnabled READ wirelessHardwareEnabled) inline bool wirelessHardwareEnabled() const { return qvariant_cast(property("WirelessHardwareEnabled")); } Q_PROPERTY(bool WwanEnabled READ wwanEnabled WRITE setWwanEnabled) inline bool wwanEnabled() const { return qvariant_cast(property("WwanEnabled")); } inline void setWwanEnabled(bool value) { setProperty("WwanEnabled", QVariant::fromValue(value)); } Q_PROPERTY(bool WwanHardwareEnabled READ wwanHardwareEnabled) inline bool wwanHardwareEnabled() const { return qvariant_cast(property("WwanHardwareEnabled")); } public Q_SLOTS: // METHODS inline QDBusPendingReply ActivateConnection(const QDBusObjectPath &connection, const QDBusObjectPath &device, const QDBusObjectPath &specific_object) { QList argumentList; argumentList << QVariant::fromValue(connection) << QVariant::fromValue(device) << QVariant::fromValue(specific_object); return asyncCallWithArgumentList(QStringLiteral("ActivateConnection"), argumentList); } inline QDBusPendingReply AddAndActivateConnection(NMVariantMapMap connection, const QDBusObjectPath &device, const QDBusObjectPath &specific_object) { QList argumentList; argumentList << QVariant::fromValue(connection) << QVariant::fromValue(device) << QVariant::fromValue(specific_object); return asyncCallWithArgumentList(QStringLiteral("AddAndActivateConnection"), argumentList); } inline QDBusPendingReply AddAndActivateConnection2(NMVariantMapMap connection, const QDBusObjectPath &device, const QDBusObjectPath &specific_object, const QVariantMap &options) { QList argumentList; argumentList << QVariant::fromValue(connection) << QVariant::fromValue(device) << QVariant::fromValue(specific_object) << QVariant::fromValue(options); return asyncCallWithArgumentList(QStringLiteral("AddAndActivateConnection2"), argumentList); } inline QDBusPendingReply CheckConnectivity() { QList argumentList; return asyncCallWithArgumentList(QStringLiteral("CheckConnectivity"), argumentList); } inline QDBusPendingReply CheckpointCreate(const QList &devices, uint rollback_timeout, uint flags) { QList argumentList; argumentList << QVariant::fromValue(devices) << QVariant::fromValue(rollback_timeout) << QVariant::fromValue(flags); return asyncCallWithArgumentList(QStringLiteral("CheckpointCreate"), argumentList); } inline QDBusPendingReply<> CheckpointDestroy(const QDBusObjectPath &checkpoint) { QList argumentList; argumentList << QVariant::fromValue(checkpoint); return asyncCallWithArgumentList(QStringLiteral("CheckpointDestroy"), argumentList); } inline QDBusPendingReply<> DeactivateConnection(const QDBusObjectPath &active_connection) { QList argumentList; argumentList << QVariant::fromValue(active_connection); return asyncCallWithArgumentList(QStringLiteral("DeactivateConnection"), argumentList); } inline QDBusPendingReply<> Enable(bool enable) { QList argumentList; argumentList << QVariant::fromValue(enable); return asyncCallWithArgumentList(QStringLiteral("Enable"), argumentList); } inline QDBusPendingReply> GetAllDevices() { QList argumentList; return asyncCallWithArgumentList(QStringLiteral("GetAllDevices"), argumentList); } inline QDBusPendingReply GetDeviceByIpIface(const QString &iface) { QList argumentList; argumentList << QVariant::fromValue(iface); return asyncCallWithArgumentList(QStringLiteral("GetDeviceByIpIface"), argumentList); } inline QDBusPendingReply> GetDevices() { QList argumentList; return asyncCallWithArgumentList(QStringLiteral("GetDevices"), argumentList); } inline QDBusPendingReply GetLogging() { QList argumentList; return asyncCallWithArgumentList(QStringLiteral("GetLogging"), argumentList); } inline QDBusPendingReply GetPermissions() { QList argumentList; return asyncCallWithArgumentList(QStringLiteral("GetPermissions"), argumentList); } inline QDBusPendingReply<> Reload(uint flags) { QList argumentList; argumentList << QVariant::fromValue(flags); return asyncCallWithArgumentList(QStringLiteral("Reload"), argumentList); } inline QDBusPendingReply<> SetLogging(const QString &level, const QString &domains) { QList argumentList; argumentList << QVariant::fromValue(level) << QVariant::fromValue(domains); return asyncCallWithArgumentList(QStringLiteral("SetLogging"), argumentList); } inline QDBusPendingReply<> Sleep(bool sleep) { QList argumentList; argumentList << QVariant::fromValue(sleep); return asyncCallWithArgumentList(QStringLiteral("Sleep"), argumentList); } inline QDBusPendingReply state() { QList argumentList; return asyncCallWithArgumentList(QStringLiteral("state"), argumentList); } Q_SIGNALS: // SIGNALS void CheckPermissions(); void DeviceAdded(const QDBusObjectPath &device_path); void DeviceRemoved(const QDBusObjectPath &device_path); void PropertiesChanged(const QVariantMap &properties); void StateChanged(uint state); }; #endif