libsolidcontrol
FakeWirelessNetworkInterface Class Reference
#include <fakewirelessnetworkinterface.h>

Signals | |
void | accessPointAppeared (const QString &) |
void | accessPointDisappeared (const QString &) |
void | activeAccessPointChanged (const QString &) |
void | bitRateChanged (int bitrate) |
void | modeChanged (Solid::Control::WirelessNetworkInterface::OperationMode) |
Public Member Functions | |
MacAddressList | accessPoints () const |
QString | activeAccessPoint () const |
int | bitRate () const |
QObject * | createAccessPoint (const QString &uni) |
FakeWirelessNetworkInterface (const QMap< QString, QVariant > &propertyMap, QObject *parent=0) | |
QString | hardwareAddress () const |
Solid::Control::WirelessNetworkInterface::OperationMode | mode () const |
Solid::Control::WirelessNetworkInterface::Capabilities | wirelessCapabilities () const |
~FakeWirelessNetworkInterface () | |
Protected Member Functions | |
void | injectAccessPoint (FakeAccessPoint *ap) |
Detailed Description
Definition at line 33 of file fakewirelessnetworkinterface.h.
Constructor & Destructor Documentation
FakeWirelessNetworkInterface::FakeWirelessNetworkInterface | ( | const QMap< QString, QVariant > & | propertyMap, | |
QObject * | parent = 0 | |||
) |
Definition at line 26 of file fakewirelessnetworkinterface.cpp.
FakeWirelessNetworkInterface::~FakeWirelessNetworkInterface | ( | ) |
Definition at line 31 of file fakewirelessnetworkinterface.cpp.
Member Function Documentation
void FakeWirelessNetworkInterface::accessPointAppeared | ( | const QString & | ) | [virtual, signal] |
void FakeWirelessNetworkInterface::accessPointDisappeared | ( | const QString & | ) | [virtual, signal] |
MacAddressList FakeWirelessNetworkInterface::accessPoints | ( | ) | const [virtual] |
List of wireless networks currently visible to the hardware.
Implements Solid::Control::Ifaces::WirelessNetworkInterface.
Definition at line 35 of file fakewirelessnetworkinterface.cpp.
QString FakeWirelessNetworkInterface::activeAccessPoint | ( | ) | const [virtual] |
Identifier of the network this interface is currently associated with.
Implements Solid::Control::Ifaces::WirelessNetworkInterface.
Definition at line 40 of file fakewirelessnetworkinterface.cpp.
void FakeWirelessNetworkInterface::activeAccessPointChanged | ( | const QString & | ) | [virtual, signal] |
int FakeWirelessNetworkInterface::bitRate | ( | ) | const [virtual] |
Retrieves the effective bit rate currently attainable by this device.
- Returns:
- the bitrate in bit/s
Implements Solid::Control::Ifaces::WirelessNetworkInterface.
Definition at line 57 of file fakewirelessnetworkinterface.cpp.
void FakeWirelessNetworkInterface::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::WirelessNetworkInterface.
Instantiates a new AccessPoint object from the current backend given its UNI.
- Parameters:
-
uni the identifier of the network instantiated
- Returns:
- a new AccessPoint object if there's a network having the given UNI for this device, 0 otherwise
Implements Solid::Control::Ifaces::WirelessNetworkInterface.
Definition at line 67 of file fakewirelessnetworkinterface.cpp.
QString FakeWirelessNetworkInterface::hardwareAddress | ( | ) | const [virtual] |
The hardware address assigned to the network interface.
Implements Solid::Control::Ifaces::WirelessNetworkInterface.
Definition at line 45 of file fakewirelessnetworkinterface.cpp.
void FakeWirelessNetworkInterface::injectAccessPoint | ( | FakeAccessPoint * | ap | ) | [protected] |
Definition at line 72 of file fakewirelessnetworkinterface.cpp.
Solid::Control::WirelessNetworkInterface::OperationMode FakeWirelessNetworkInterface::mode | ( | ) | const [virtual] |
Retrieves the operation mode of this network.
- Returns:
- the current mode
Implements Solid::Control::Ifaces::WirelessNetworkInterface.
Definition at line 51 of file fakewirelessnetworkinterface.cpp.
void FakeWirelessNetworkInterface::modeChanged | ( | Solid::Control::WirelessNetworkInterface::OperationMode | ) | [virtual, signal] |
Solid::Control::WirelessNetworkInterface::Capabilities FakeWirelessNetworkInterface::wirelessCapabilities | ( | ) | const [virtual] |
Retrieves the capabilities of this wifi network.
- Returns:
- the flag set describing the capabilities
- See also:
- Solid::Control::WirelessNetworkInterface::DeviceInterface
Implements Solid::Control::Ifaces::WirelessNetworkInterface.
Definition at line 62 of file fakewirelessnetworkinterface.cpp.
The documentation for this class was generated from the following files: