libsolidcontrol
Solid::Control::AccessPoint Class Reference
#include <wirelessaccesspoint.h>

Public Types | |
enum | Capability { Privacy = 0x1 } |
enum | WpaFlag { PairWep40 = 0x1, PairWep104 = 0x2, PairTkip = 0x4, PairCcmp = 0x8, GroupWep40 = 0x10, GroupWep104 = 0x20, GroupTkip = 0x40, GroupCcmp = 0x80, KeyMgmtPsk = 0x100, KeyMgmt8021x = 0x200 } |
Signals | |
void | bitRateChanged (int bitrate) |
void | frequencyChanged (uint frequency) const |
void | rsnFlagsChanged (Solid::Control::AccessPoint::WpaFlags flags) const |
void | signalStrengthChanged (int strength) |
void | ssidChanged (const QString &ssid) const |
void | wpaFlagsChanged (Solid::Control::AccessPoint::WpaFlags flags) const |
Public Member Functions | |
AccessPoint (const AccessPoint &) | |
AccessPoint (QObject *backendObject=0) | |
Solid::Control::AccessPoint::Capabilities | capabilities () const |
uint | frequency () const |
QString | hardwareAddress () const |
uint | maxBitRate () const |
Solid::Control::WirelessNetworkInterface::OperationMode | mode () const |
Solid::Control::AccessPoint::WpaFlags | rsnFlags () const |
int | signalStrength () const |
QString | ssid () const |
QString | uni () const |
Solid::Control::AccessPoint::WpaFlags | wpaFlags () const |
virtual | ~AccessPoint () |
Protected Member Functions | |
AccessPoint (AccessPointPrivate &dd, const AccessPoint &ap) | |
AccessPoint (AccessPointPrivate &dd, QObject *backendObject) | |
Protected Attributes | |
AccessPointPrivate * | d_ptr |
Detailed Description
Definition at line 33 of file wirelessaccesspoint.h.
Member Enumeration Documentation
Flags describing the access point's capabilities according to WPA (Wifi Protected Access).
- Enumerator:
-
PairWep40 PairWep104 PairTkip PairCcmp GroupWep40 GroupWep104 GroupTkip GroupCcmp KeyMgmtPsk KeyMgmt8021x
Definition at line 46 of file wirelessaccesspoint.h.
Constructor & Destructor Documentation
Solid::Control::AccessPoint::AccessPoint | ( | QObject * | backendObject = 0 |
) |
Creates a new Network object.
- Parameters:
-
backendObject the network object provided by the backend
Definition at line 41 of file wirelessaccesspoint.cpp.
Solid::Control::AccessPoint::AccessPoint | ( | const AccessPoint & | network | ) |
Solid::Control::AccessPoint::~AccessPoint | ( | ) | [virtual] |
Definition at line 69 of file wirelessaccesspoint.cpp.
Solid::Control::AccessPoint::AccessPoint | ( | AccessPointPrivate & | dd, | |
QObject * | backendObject | |||
) | [protected] |
Solid::Control::AccessPoint::AccessPoint | ( | AccessPointPrivate & | dd, | |
const AccessPoint & | ap | |||
) | [protected] |
Member Function Documentation
void Solid::Control::AccessPoint::bitRateChanged | ( | int | bitrate | ) | [signal] |
This signal is emitted when the bitrate of this network has changed.
- Parameters:
-
bitrate the new bitrate value for this network
Solid::Control::AccessPoint::Capabilities Solid::Control::AccessPoint::capabilities | ( | ) | const |
Flags describing the capabilities of the access point.
Definition at line 80 of file wirelessaccesspoint.cpp.
uint Solid::Control::AccessPoint::frequency | ( | ) | const |
Retrieves the frequency in MHz of the radio channel that this access point is operating on.
- Returns:
- the frequency
Definition at line 107 of file wirelessaccesspoint.cpp.
void Solid::Control::AccessPoint::frequencyChanged | ( | uint | frequency | ) | const [signal] |
This signal is emitted when the frequency used by this Access Point changes.
- Parameters:
-
frequency the new frequency
QString Solid::Control::AccessPoint::hardwareAddress | ( | ) | const |
The hardware address assigned to the access point's wireless interface.
Definition at line 114 of file wirelessaccesspoint.cpp.
uint Solid::Control::AccessPoint::maxBitRate | ( | ) | const |
Retrieves the maximum bit rate currently attainable with this access point.
- Returns:
- the maximum bitrate in kilobit/s
Definition at line 121 of file wirelessaccesspoint.cpp.
Solid::Control::WirelessNetworkInterface::OperationMode Solid::Control::AccessPoint::mode | ( | ) | const |
Retrieves the operation mode of this access point.
- Returns:
- the current mode
Definition at line 127 of file wirelessaccesspoint.cpp.
Solid::Control::AccessPoint::WpaFlags Solid::Control::AccessPoint::rsnFlags | ( | ) | const |
Flags describing the access point's capabilities according to RSN (Robust Secure Network) aka WPA2.
Definition at line 94 of file wirelessaccesspoint.cpp.
void Solid::Control::AccessPoint::rsnFlagsChanged | ( | Solid::Control::AccessPoint::WpaFlags | flags | ) | const [signal] |
This signal is emitted when the RSN(WPA2) flags in use by this access point change.
- Parameters:
-
flags the new flags
int Solid::Control::AccessPoint::signalStrength | ( | ) | const |
Retrieves the current signal strength of this wifi network.
- Returns:
- the signal strength as a percentage
Definition at line 133 of file wirelessaccesspoint.cpp.
void Solid::Control::AccessPoint::signalStrengthChanged | ( | int | strength | ) | [signal] |
This signal is emitted when the signal strength of this network has changed.
- Parameters:
-
strength the new signal strength value for this network
QString Solid::Control::AccessPoint::ssid | ( | ) | const |
The Service Set Identifier of the access point.
Definition at line 101 of file wirelessaccesspoint.cpp.
void Solid::Control::AccessPoint::ssidChanged | ( | const QString & | ssid | ) | const [signal] |
This signal is emitted when the ssid of this Access Point changes.
- Parameters:
-
ssid the new SSID
QString Solid::Control::AccessPoint::uni | ( | ) | const |
Opaque and unique string identifier for this access point.
Definition at line 74 of file wirelessaccesspoint.cpp.
Solid::Control::AccessPoint::WpaFlags Solid::Control::AccessPoint::wpaFlags | ( | ) | const |
Flags describing the access point's capabilities according to WPA (Wifi Protected Access).
Definition at line 87 of file wirelessaccesspoint.cpp.
void Solid::Control::AccessPoint::wpaFlagsChanged | ( | Solid::Control::AccessPoint::WpaFlags | flags | ) | const [signal] |
This signal is emitted when the WPA flags in use by this access point change.
- Parameters:
-
flags the new flags
Member Data Documentation
AccessPointPrivate* Solid::Control::AccessPoint::d_ptr [protected] |
Definition at line 175 of file wirelessaccesspoint.h.
The documentation for this class was generated from the following files: