QWlanManager
|
Class containing network properties. More...
Public Member Functions | |
Network (const Network &other) | |
Network (Network &&other) | |
bool | isValid () const |
Allow to know if a network instance is valid. | |
const QString & | getSsid () const |
Retrieve network SSID. | |
const QString & | getProfileName () const |
Retrieve network profile name. | |
AuthAlgo | getAuthAlgo () const |
Retrieve network authentication algorithm. | |
CipherAlgo | getCipherAlgo () const |
Retrieve network cipher algorithm. | |
uint | getSignalQuality () const |
Retrieve network signal quality. | |
Network & | operator= (const Network &other) |
Network & | operator= (Network &&other) |
bool | operator== (const Network &other) const |
Use to compare network instances. | |
bool | operator!= (const Network &other) const |
Properties | |
QString | ssid |
QString | profile |
AuthAlgo | authAlgo |
CipherAlgo | cipherAlgo |
uint | signalQuality |
Friends | |
class | NetworkMutator |
Class containing network properties.
This class contains all related network properties (ssid, authentication algo, signal quality, etc...).
This class use implicit sharing memory (via shared pointer), this allow to:
qwm::Interface
bool qwm::Network::isValid | ( | ) | const |
Allow to know if a network instance is valid.
true
if network is valid const QString & qwm::Network::getSsid | ( | ) | const |
Retrieve network SSID.
const QString & qwm::Network::getProfileName | ( | ) | const |
Retrieve network profile name.
AuthAlgo qwm::Network::getAuthAlgo | ( | ) | const |
Retrieve network authentication algorithm.
CipherAlgo qwm::Network::getCipherAlgo | ( | ) | const |
Retrieve network cipher algorithm.
uint qwm::Network::getSignalQuality | ( | ) | const |
Retrieve network signal quality.
bool qwm::Network::operator== | ( | const Network & | other | ) | const |
Use to compare network instances.
Networks are considered equals if ssid and authentication/cipher algorithms are equals or if both are invalid.
[in] | other | Other network to compare |
true
if equals.