SolidModules
nm-deviceinterface.h
Go to the documentation of this file.00001 /* 00002 * This file was generated by dbusxml2cpp version 0.6 00003 * 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 00004 * 00005 * dbusxml2cpp is Copyright (C) 2006 Trolltech ASA. All rights reserved. 00006 * 00007 * This is an auto-generated file. 00008 * Do not edit! All changes made to it will be lost. 00009 */ 00010 00011 #ifndef NM_DEVICEINTERFACE_H_1222729762 00012 #define NM_DEVICEINTERFACE_H_1222729762 00013 00014 #include <QtCore/QObject> 00015 #include <QtCore/QByteArray> 00016 #include <QtCore/QList> 00017 #include <QtCore/QMap> 00018 #include <QtCore/QString> 00019 #include <QtCore/QStringList> 00020 #include <QtCore/QVariant> 00021 #include <QtDBus/QtDBus> 00022 00023 /* 00024 * Proxy class for interface org.freedesktop.NetworkManager.Device 00025 */ 00026 class OrgFreedesktopNetworkManagerDeviceInterface: public QDBusAbstractInterface 00027 { 00028 Q_OBJECT 00029 public: 00030 static inline const char *staticInterfaceName() 00031 { return "org.freedesktop.NetworkManager.Device"; } 00032 00033 public: 00034 OrgFreedesktopNetworkManagerDeviceInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0); 00035 00036 ~OrgFreedesktopNetworkManagerDeviceInterface(); 00037 00038 Q_PROPERTY(uint Capabilities READ capabilities) 00039 inline uint capabilities() const 00040 { return qvariant_cast< uint >(internalPropGet("Capabilities")); } 00041 00042 Q_PROPERTY(uint DeviceType READ deviceType) 00043 inline uint deviceType() const 00044 { return qvariant_cast< uint >(internalPropGet("DeviceType")); } 00045 00046 Q_PROPERTY(QDBusObjectPath Dhcp4Config READ dhcp4Config) 00047 inline QDBusObjectPath dhcp4Config() const 00048 { return qvariant_cast< QDBusObjectPath >(internalPropGet("Dhcp4Config")); } 00049 00050 Q_PROPERTY(QString Driver READ driver) 00051 inline QString driver() const 00052 { return qvariant_cast< QString >(internalPropGet("Driver")); } 00053 00054 Q_PROPERTY(QString Interface READ interface) 00055 inline QString interface() const 00056 { return qvariant_cast< QString >(internalPropGet("Interface")); } 00057 00058 Q_PROPERTY(int Ip4Address READ ip4Address) 00059 inline int ip4Address() const 00060 { return qvariant_cast< int >(internalPropGet("Ip4Address")); } 00061 00062 Q_PROPERTY(QDBusObjectPath Ip4Config READ ip4Config) 00063 inline QDBusObjectPath ip4Config() const 00064 { return qvariant_cast< QDBusObjectPath >(internalPropGet("Ip4Config")); } 00065 00066 Q_PROPERTY(bool Managed READ managed) 00067 inline bool managed() const 00068 { return qvariant_cast< bool >(internalPropGet("Managed")); } 00069 00070 Q_PROPERTY(uint State READ state) 00071 inline uint state() const 00072 { return qvariant_cast< uint >(internalPropGet("State")); } 00073 00074 Q_PROPERTY(QString Udi READ udi) 00075 inline QString udi() const 00076 { return qvariant_cast< QString >(internalPropGet("Udi")); } 00077 00078 public Q_SLOTS: // METHODS 00079 Q_SIGNALS: // SIGNALS 00080 void StateChanged(uint new_state, uint old_state, uint reason); 00081 }; 00082 00083 #endif