2 * This file was generated by dbusxml2cpp version 0.6
3 * Command line was: dbusxml2cpp -N -m -p nm-deviceinterface /space/kde/sources/trunk/KDE/kdebase/workspace/solid/networkmanager-0.7/dbus/introspection/nm-device.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_DEVICEINTERFACE_H_1222729762
12 #define NM_DEVICEINTERFACE_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.Device
26 class OrgFreedesktopNetworkManagerDeviceInterface
: public QDBusAbstractInterface
30 static inline const char *staticInterfaceName()
31 { return "org.freedesktop.NetworkManager.Device"; }
34 OrgFreedesktopNetworkManagerDeviceInterface(const QString
&service
, const QString
&path
, const QDBusConnection
&connection
, QObject
*parent
= 0);
36 ~OrgFreedesktopNetworkManagerDeviceInterface();
38 Q_PROPERTY(uint Capabilities READ capabilities
)
39 inline uint
capabilities() const
40 { return qvariant_cast
< uint
>(internalPropGet("Capabilities")); }
42 Q_PROPERTY(uint DeviceType READ deviceType
)
43 inline uint
deviceType() const
44 { return qvariant_cast
< uint
>(internalPropGet("DeviceType")); }
46 Q_PROPERTY(QDBusObjectPath Dhcp4Config READ dhcp4Config
)
47 inline QDBusObjectPath
dhcp4Config() const
48 { return qvariant_cast
< QDBusObjectPath
>(internalPropGet("Dhcp4Config")); }
50 Q_PROPERTY(QString Driver READ driver
)
51 inline QString
driver() const
52 { return qvariant_cast
< QString
>(internalPropGet("Driver")); }
54 Q_PROPERTY(QString Interface READ interface
)
55 inline QString
interface() const
56 { return qvariant_cast
< QString
>(internalPropGet("Interface")); }
58 Q_PROPERTY(int Ip4Address READ ip4Address
)
59 inline int ip4Address() const
60 { return qvariant_cast
< int >(internalPropGet("Ip4Address")); }
62 Q_PROPERTY(QDBusObjectPath Ip4Config READ ip4Config
)
63 inline QDBusObjectPath
ip4Config() const
64 { return qvariant_cast
< QDBusObjectPath
>(internalPropGet("Ip4Config")); }
66 Q_PROPERTY(bool Managed READ managed
)
67 inline bool managed() const
68 { return qvariant_cast
< bool >(internalPropGet("Managed")); }
70 Q_PROPERTY(uint State READ state
)
71 inline uint
state() const
72 { return qvariant_cast
< uint
>(internalPropGet("State")); }
74 Q_PROPERTY(QString Udi READ udi
)
75 inline QString
udi() const
76 { return qvariant_cast
< QString
>(internalPropGet("Udi")); }
78 public Q_SLOTS
: // METHODS
80 void StateChanged(uint new_state
, uint old_state
, uint reason
);