libsolidcontrol
Solid::Control::Ifaces::WiredNetworkInterface Class Reference
Represents a wired network interface. More...
#include <wirednetworkinterface.h>
Inheritance diagram for Solid::Control::Ifaces::WiredNetworkInterface:

Public Member Functions | |
virtual int | bitRate () const =0 |
virtual bool | carrier () const =0 |
virtual QString | hardwareAddress () const =0 |
virtual | ~WiredNetworkInterface () |
Protected Member Functions | |
virtual void | bitRateChanged (int bitRate)=0 |
virtual void | carrierChanged (bool plugged)=0 |
Detailed Description
Represents a wired network interface.Definition at line 39 of file ifaces/wirednetworkinterface.h.
Constructor & Destructor Documentation
Solid::Control::Ifaces::WiredNetworkInterface::~WiredNetworkInterface | ( | ) | [virtual] |
Destroys a WiredNetworkInterface object.
Definition at line 22 of file ifaces/wirednetworkinterface.cpp.
Member Function Documentation
virtual int Solid::Control::Ifaces::WiredNetworkInterface::bitRate | ( | ) | const [pure virtual] |
Retrieves the effective bit rate currently attainable by this device.
- Returns:
- the bitrate in bit/s
Implemented in FakeWiredNetworkInterface.
virtual void Solid::Control::Ifaces::WiredNetworkInterface::bitRateChanged | ( | int | bitRate | ) | [protected, pure virtual] |
This signal is emitted when the bitrate of this network has changed.
- Parameters:
-
bitrate the new bitrate value for this network
Implemented in FakeWiredNetworkInterface.
virtual bool Solid::Control::Ifaces::WiredNetworkInterface::carrier | ( | ) | const [pure virtual] |
Indicates if the network interfaces sees a carrier.
- Returns:
- true if there's a carrier, false otherwise
Implemented in FakeWiredNetworkInterface.
virtual void Solid::Control::Ifaces::WiredNetworkInterface::carrierChanged | ( | bool | plugged | ) | [protected, pure virtual] |
This signal indicates if the physical carrier changed state (eg if the network cable was plugged or unplugged).
Implemented in FakeWiredNetworkInterface.
virtual QString Solid::Control::Ifaces::WiredNetworkInterface::hardwareAddress | ( | ) | const [pure virtual] |
The documentation for this class was generated from the following files: