libsolidcontrol
FakeWiredNetworkInterface Class Reference
#include <fakewirednetworkinterface.h>

Signals | |
void | bitRateChanged (int bitrate) |
void | carrierChanged (bool plugged) |
Public Member Functions | |
int | bitRate () const |
bool | carrier () const |
FakeWiredNetworkInterface (const QMap< QString, QVariant > &propertyMap, QObject *parent=0) | |
QString | hardwareAddress () const |
~FakeWiredNetworkInterface () |
Detailed Description
Definition at line 35 of file fakewirednetworkinterface.h.
Constructor & Destructor Documentation
FakeWiredNetworkInterface::FakeWiredNetworkInterface | ( | const QMap< QString, QVariant > & | propertyMap, | |
QObject * | parent = 0 | |||
) |
Definition at line 25 of file fakewirednetworkinterface.cpp.
FakeWiredNetworkInterface::~FakeWiredNetworkInterface | ( | ) |
Definition at line 30 of file fakewirednetworkinterface.cpp.
Member Function Documentation
int FakeWiredNetworkInterface::bitRate | ( | ) | const [virtual] |
Retrieves the effective bit rate currently attainable by this device.
- Returns:
- the bitrate in bit/s
Implements Solid::Control::Ifaces::WiredNetworkInterface.
Definition at line 45 of file fakewirednetworkinterface.cpp.
void FakeWiredNetworkInterface::bitRateChanged | ( | int | bitRate | ) | [virtual, signal] |
This signal is emitted when the bitrate of this network has changed.
- Parameters:
-
bitrate the new bitrate value for this network
Implements Solid::Control::Ifaces::WiredNetworkInterface.
bool FakeWiredNetworkInterface::carrier | ( | ) | const [virtual] |
Indicates if the network interfaces sees a carrier.
- Returns:
- true if there's a carrier, false otherwise
Implements Solid::Control::Ifaces::WiredNetworkInterface.
Definition at line 40 of file fakewirednetworkinterface.cpp.
void FakeWiredNetworkInterface::carrierChanged | ( | bool | plugged | ) | [virtual, signal] |
This signal indicates if the physical carrier changed state (eg if the network cable was plugged or unplugged).
Implements Solid::Control::Ifaces::WiredNetworkInterface.
QString FakeWiredNetworkInterface::hardwareAddress | ( | ) | const [virtual] |
The hardware address assigned to the network interface.
Implements Solid::Control::Ifaces::WiredNetworkInterface.
Definition at line 34 of file fakewirednetworkinterface.cpp.
The documentation for this class was generated from the following files: