libsolidcontrol
wirednetworkinterface.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef SOLID_IFACES_WIREDNETWORKINTERFACE_H
00021 #define SOLID_IFACES_WIREDNETWORKINTERFACE_H
00022
00023 #include "../solid_control_export.h"
00024
00025 #include <QtCore/QStringList>
00026
00027 #include "networkinterface.h"
00028
00029
00030 namespace Solid
00031 {
00032 namespace Control
00033 {
00034 namespace Ifaces
00035 {
00039 class SOLIDCONTROLIFACES_EXPORT WiredNetworkInterface : virtual public NetworkInterface
00040 {
00041 public:
00045 virtual ~WiredNetworkInterface();
00049 virtual QString hardwareAddress() const = 0;
00055 virtual int bitRate() const = 0;
00056
00062 virtual bool carrier() const = 0;
00063
00064 protected:
00065
00071 virtual void bitRateChanged(int bitRate) = 0;
00076 virtual void carrierChanged(bool plugged) = 0;
00077 };
00078 }
00079 }
00080 }
00081
00082 Q_DECLARE_INTERFACE(Solid::Control::Ifaces::WiredNetworkInterface, "org.kde.Solid.Control.Ifaces.WiredNetworkInterface/0.1")
00083
00084 #endif // SOLID_IFACES_WIRELESSNETWORKINTERFACE_H
00085