2
* This file was generated by qdbusxml2cpp version 0.7
3
* Command line was: qdbusxml2cpp -N -m -p nm-manager-clientinterface introspection/nm-manager-client.xml
5
* qdbusxml2cpp is Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
7
* This is an auto-generated file.
8
* Do not edit! All changes made to it will be lost.
11
#ifndef NM_MANAGER_CLIENTINTERFACE_H
12
#define NM_MANAGER_CLIENTINTERFACE_H
14
#include <QtCore/QObject>
15
#include <QtCore/QByteArray>
16
#include <QtCore/QList>
17
#include <QtCore/QMap>
18
#include <QtCore/QString>
19
#include <QtCore/QStringList>
20
#include <QtCore/QVariant>
21
#include <QtDBus/QtDBus>
24
* Proxy class for interface org.freedesktop.NetworkManager
26
class OrgFreedesktopNetworkManagerInterface: public QDBusAbstractInterface
30
static inline const char *staticInterfaceName()
31
{ return "org.freedesktop.NetworkManager"; }
34
OrgFreedesktopNetworkManagerInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);
36
~OrgFreedesktopNetworkManagerInterface();
38
Q_PROPERTY(QList<QDBusObjectPath> ActiveConnections READ activeConnections)
39
inline QList<QDBusObjectPath> activeConnections() const
40
{ return qvariant_cast< QList<QDBusObjectPath> >(internalPropGet("ActiveConnections")); }
42
Q_PROPERTY(bool NetworkingEnabled READ networkingEnabled)
43
inline bool networkingEnabled() const
44
{ return qvariant_cast< bool >(internalPropGet("NetworkingEnabled")); }
46
Q_PROPERTY(uint State READ state)
47
inline uint state() const
48
{ return qvariant_cast< uint >(internalPropGet("State")); }
50
Q_PROPERTY(bool WirelessEnabled READ wirelessEnabled WRITE setWirelessEnabled)
51
inline bool wirelessEnabled() const
52
{ return qvariant_cast< bool >(internalPropGet("WirelessEnabled")); }
53
inline void setWirelessEnabled(bool value)
54
{ internalPropSet("WirelessEnabled", qVariantFromValue(value)); }
56
Q_PROPERTY(bool WirelessHardwareEnabled READ wirelessHardwareEnabled)
57
inline bool wirelessHardwareEnabled() const
58
{ return qvariant_cast< bool >(internalPropGet("WirelessHardwareEnabled")); }
60
Q_PROPERTY(bool WwanEnabled READ wwanEnabled WRITE setWwanEnabled)
61
inline bool wwanEnabled() const
62
{ return qvariant_cast< bool >(internalPropGet("WwanEnabled")); }
63
inline void setWwanEnabled(bool value)
64
{ internalPropSet("WwanEnabled", qVariantFromValue(value)); }
66
Q_PROPERTY(bool WwanHardwareEnabled READ wwanHardwareEnabled)
67
inline bool wwanHardwareEnabled() const
68
{ return qvariant_cast< bool >(internalPropGet("WwanHardwareEnabled")); }
70
public Q_SLOTS: // METHODS
71
inline QDBusPendingReply<QDBusObjectPath> ActivateConnection(const QString &service_name, const QDBusObjectPath &connection, const QDBusObjectPath &device, const QDBusObjectPath &specific_object)
73
QList<QVariant> argumentList;
74
argumentList << qVariantFromValue(service_name) << qVariantFromValue(connection) << qVariantFromValue(device) << qVariantFromValue(specific_object);
75
return asyncCallWithArgumentList(QLatin1String("ActivateConnection"), argumentList);
78
inline QDBusPendingReply<> DeactivateConnection(const QDBusObjectPath &active_connection)
80
QList<QVariant> argumentList;
81
argumentList << qVariantFromValue(active_connection);
82
return asyncCallWithArgumentList(QLatin1String("DeactivateConnection"), argumentList);
85
inline QDBusPendingReply<> Enable(bool enable)
87
QList<QVariant> argumentList;
88
argumentList << qVariantFromValue(enable);
89
return asyncCallWithArgumentList(QLatin1String("Enable"), argumentList);
92
inline QDBusPendingReply<QList<QDBusObjectPath> > GetDevices()
94
QList<QVariant> argumentList;
95
return asyncCallWithArgumentList(QLatin1String("GetDevices"), argumentList);
98
inline QDBusPendingReply<> Sleep(bool sleep)
100
QList<QVariant> argumentList;
101
argumentList << qVariantFromValue(sleep);
102
return asyncCallWithArgumentList(QLatin1String("Sleep"), argumentList);
105
Q_SIGNALS: // SIGNALS
106
void DeviceAdded(const QDBusObjectPath &state);
107
void DeviceRemoved(const QDBusObjectPath &state);
108
void PropertiesChanged(const QVariantMap &properties);
109
void StateChanged(uint state);