SolidModules
nm-device-802-3-ethernetinterface.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-device-802-3-ethernetinterface /space/kde/sources/trunk/KDE/kdebase/workspace/solid/networkmanager-0.7/dbus/introspection/nm-device-802-3-ethernet.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 NMDEVICE8023ETHERNETINTERFACE_H_1210621532 00012 #define NMDEVICE8023ETHERNETINTERFACE_H_1210621532 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.Wired 00025 */ 00026 class OrgFreedesktopNetworkManagerDeviceWiredInterface: public QDBusAbstractInterface 00027 { 00028 Q_OBJECT 00029 public: 00030 static inline const char *staticInterfaceName() 00031 { return "org.freedesktop.NetworkManager.Device.Wired"; } 00032 00033 public: 00034 OrgFreedesktopNetworkManagerDeviceWiredInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0); 00035 00036 ~OrgFreedesktopNetworkManagerDeviceWiredInterface(); 00037 00038 Q_PROPERTY(bool Carrier READ carrier) 00039 inline bool carrier() const 00040 { return qvariant_cast< bool >(internalPropGet("Carrier")); } 00041 00042 Q_PROPERTY(QString HwAddress READ hwAddress) 00043 inline QString hwAddress() const 00044 { return qvariant_cast< QString >(internalPropGet("HwAddress")); } 00045 00046 Q_PROPERTY(uint Speed READ speed) 00047 inline uint speed() const 00048 { return qvariant_cast< uint >(internalPropGet("Speed")); } 00049 00050 public Q_SLOTS: // METHODS 00051 Q_SIGNALS: // SIGNALS 00052 void PropertiesChanged(const QVariantMap &properties); 00053 }; 00054 00055 #endif