2 * This file was generated by dbusxml2cpp version 0.6
3 * Command line was: dbusxml2cpp -N -m -p nm-manager-clientinterface /space/kde/sources/trunk/KDE/kdebase/workspace/solid/networkmanager-0.7/dbus/introspection/nm-manager-client.xml
5 * dbusxml2cpp is Copyright (C) 2006 Trolltech ASA. All rights reserved.
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_1222729762
12 #define NM_MANAGER_CLIENTINTERFACE_H_1222729762
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(uint State READ state
)
43 inline uint
state() const
44 { return qvariant_cast
< uint
>(internalPropGet("State")); }
46 Q_PROPERTY(bool WirelessEnabled READ wirelessEnabled WRITE setWirelessEnabled
)
47 inline bool wirelessEnabled() const
48 { return qvariant_cast
< bool >(internalPropGet("WirelessEnabled")); }
49 inline void setWirelessEnabled(bool value
)
50 { internalPropSet("WirelessEnabled", qVariantFromValue(value
)); }
52 Q_PROPERTY(bool WirelessHardwareEnabled READ wirelessHardwareEnabled
)
53 inline bool wirelessHardwareEnabled() const
54 { return qvariant_cast
< bool >(internalPropGet("WirelessHardwareEnabled")); }
56 public Q_SLOTS
: // METHODS
57 inline QDBusReply
<QDBusObjectPath
> ActivateConnection(const QString
&service_name
, const QDBusObjectPath
&connection
, const QDBusObjectPath
&device
, const QDBusObjectPath
&specific_object
)
59 QList
<QVariant
> argumentList
;
60 argumentList
<< qVariantFromValue(service_name
) << qVariantFromValue(connection
) << qVariantFromValue(device
) << qVariantFromValue(specific_object
);
61 return callWithArgumentList(QDBus::Block
, QLatin1String("ActivateConnection"), argumentList
);
64 inline QDBusReply
<void> DeactivateConnection(const QDBusObjectPath
&active_connection
)
66 QList
<QVariant
> argumentList
;
67 argumentList
<< qVariantFromValue(active_connection
);
68 return callWithArgumentList(QDBus::Block
, QLatin1String("DeactivateConnection"), argumentList
);
71 inline QDBusReply
<QList
<QDBusObjectPath
> > GetDevices()
73 QList
<QVariant
> argumentList
;
74 return callWithArgumentList(QDBus::Block
, QLatin1String("GetDevices"), argumentList
);
77 inline QDBusReply
<void> Sleep(bool sleep
)
79 QList
<QVariant
> argumentList
;
80 argumentList
<< qVariantFromValue(sleep
);
81 return callWithArgumentList(QDBus::Block
, QLatin1String("Sleep"), argumentList
);
85 void DeviceAdded(const QDBusObjectPath
&state
);
86 void DeviceRemoved(const QDBusObjectPath
&state
);
87 void PropertiesChanged(const QVariantMap
&properties
);
88 void StateChanged(uint state
);