NetworkManager::WirelessSetting
#include <wirelesssetting.h>
Public Types | |
enum | FrequencyBand { Automatic , A , Bg } |
typedef QList< Ptr > | List |
enum | NetworkMode { Infrastructure , Adhoc , Ap } |
enum | PowerSave { PowerSaveDefault = 0 , PowerSaveIgnore = 1 , PowerSaveDisable = 2 , PowerSaveEnable = 3 } |
typedef QSharedPointer< WirelessSetting > | Ptr |
Public Types inherited from NetworkManager::Setting | |
typedef QList< Ptr > | List |
enum | MacAddressRandomization { MacAddressRandomizationDefault = 0 , MacAddressRandomizationNever , MacAddressRandomizationAlways } |
typedef QSharedPointer< Setting > | Ptr |
typedef QFlags< SecretFlagType > | SecretFlags |
enum | SecretFlagType { None = 0 , AgentOwned = 0x01 , NotSaved = 0x02 , NotRequired = 0x04 } |
enum | SettingType { Adsl , Cdma , Gsm , Infiniband , Ipv4 , Ipv6 , Ppp , Pppoe , Security8021x , Serial , Vpn , Wired , Wireless , WirelessSecurity , Bluetooth , OlpcMesh , Vlan , Wimax , Bond , Bridge , BridgePort , Team , Generic , Tun , Vxlan , IpTunnel , Proxy , User , OvsBridge , OvsInterface , OvsPatch , OvsPort , Match , Tc , TeamPort , Macsec , Dcb , WireGuard } |
Public Member Functions | |
WirelessSetting (const Ptr &setting) | |
QString | assignedMacAddress () const |
FrequencyBand | band () const |
QByteArray | bssid () const |
quint32 | channel () const |
QByteArray | clonedMacAddress () const |
void | fromMap (const QVariantMap &setting) override |
QString | generateMacAddressMask () const |
bool | hidden () const |
QByteArray | macAddress () const |
QStringList | macAddressBlacklist () const |
MacAddressRandomization | macAddressRandomization () const |
NetworkMode | mode () const |
quint32 | mtu () const |
QString | name () const override |
PowerSave | powerSave () const |
quint32 | rate () const |
QString | security () const |
QStringList | seenBssids () const |
void | setAssignedMacAddress (const QString &assignedMacAddress) |
void | setBand (FrequencyBand band) |
void | setBssid (const QByteArray &bssid) |
void | setChannel (quint32 channel) |
void | setClonedMacAddress (const QByteArray &address) |
void | setGenerateMacAddressMask (const QString &macAddressMask) |
void | setHidden (bool hidden) |
void | setMacAddress (const QByteArray &address) |
void | setMacAddressBlacklist (const QStringList &list) |
void | setMacAddressRandomization (MacAddressRandomization randomization) |
void | setMode (NetworkMode mode) |
void | setMtu (quint32 mtu) |
void | setPowerSave (PowerSave powersave) |
void | setRate (quint32 rate) |
void | setSecurity (const QString &security) |
void | setSeenBssids (const QStringList &list) |
void | setSsid (const QByteArray &ssid) |
void | setTxPower (quint32 power) |
QByteArray | ssid () const |
QVariantMap | toMap () const override |
quint32 | txPower () const |
Public Member Functions inherited from NetworkManager::Setting | |
Setting (const Ptr &setting) | |
Setting (SettingType type) | |
bool | isNull () const |
virtual QStringList | needSecrets (bool requestNew=false) const |
virtual void | secretsFromMap (const QVariantMap &map) |
virtual void | secretsFromStringMap (const NMStringMap &map) |
virtual QVariantMap | secretsToMap () const |
virtual NMStringMap | secretsToStringMap () const |
void | setInitialized (bool initialized) |
void | setType (SettingType type) |
SettingType | type () const |
Protected Attributes | |
WirelessSettingPrivate * | d_ptr |
Protected Attributes inherited from NetworkManager::Setting | |
SettingPrivate * | d_ptr |
Additional Inherited Members | |
Static Public Member Functions inherited from NetworkManager::Setting | |
static QString | typeAsString (SettingType type) |
static SettingType | typeFromString (const QString &type) |
Detailed Description
Represents wireless setting.
Definition at line 23 of file wirelesssetting.h.
Member Typedef Documentation
◆ List
Definition at line 27 of file wirelesssetting.h.
◆ Ptr
Definition at line 26 of file wirelesssetting.h.
Member Enumeration Documentation
◆ FrequencyBand
enum NetworkManager::WirelessSetting::FrequencyBand |
Definition at line 35 of file wirelesssetting.h.
◆ NetworkMode
enum NetworkManager::WirelessSetting::NetworkMode |
Definition at line 29 of file wirelesssetting.h.
◆ PowerSave
enum NetworkManager::WirelessSetting::PowerSave |
Definition at line 41 of file wirelesssetting.h.
Constructor & Destructor Documentation
◆ WirelessSetting() [1/2]
NetworkManager::WirelessSetting::WirelessSetting | ( | ) |
Definition at line 32 of file wirelesssetting.cpp.
◆ WirelessSetting() [2/2]
|
explicit |
Definition at line 38 of file wirelesssetting.cpp.
◆ ~WirelessSetting()
|
override |
Definition at line 62 of file wirelesssetting.cpp.
Member Function Documentation
◆ assignedMacAddress()
QString NetworkManager::WirelessSetting::assignedMacAddress | ( | ) | const |
Definition at line 179 of file wirelesssetting.cpp.
◆ band()
NetworkManager::WirelessSetting::FrequencyBand NetworkManager::WirelessSetting::band | ( | ) | const |
Definition at line 109 of file wirelesssetting.cpp.
◆ bssid()
QByteArray NetworkManager::WirelessSetting::bssid | ( | ) | const |
Definition at line 137 of file wirelesssetting.cpp.
◆ channel()
quint32 NetworkManager::WirelessSetting::channel | ( | ) | const |
Definition at line 123 of file wirelesssetting.cpp.
◆ clonedMacAddress()
QByteArray NetworkManager::WirelessSetting::clonedMacAddress | ( | ) | const |
Definition at line 207 of file wirelesssetting.cpp.
◆ fromMap()
|
overridevirtual |
Must be reimplemented, default implementation does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 326 of file wirelesssetting.cpp.
◆ generateMacAddressMask()
QString NetworkManager::WirelessSetting::generateMacAddressMask | ( | ) | const |
Definition at line 221 of file wirelesssetting.cpp.
◆ hidden()
bool NetworkManager::WirelessSetting::hidden | ( | ) | const |
Definition at line 319 of file wirelesssetting.cpp.
◆ macAddress()
QByteArray NetworkManager::WirelessSetting::macAddress | ( | ) | const |
Definition at line 193 of file wirelesssetting.cpp.
◆ macAddressBlacklist()
QStringList NetworkManager::WirelessSetting::macAddressBlacklist | ( | ) | const |
Definition at line 235 of file wirelesssetting.cpp.
◆ macAddressRandomization()
NetworkManager::Setting::MacAddressRandomization NetworkManager::WirelessSetting::macAddressRandomization | ( | ) | const |
Definition at line 249 of file wirelesssetting.cpp.
◆ mode()
NetworkManager::WirelessSetting::NetworkMode NetworkManager::WirelessSetting::mode | ( | ) | const |
Definition at line 95 of file wirelesssetting.cpp.
◆ mtu()
quint32 NetworkManager::WirelessSetting::mtu | ( | ) | const |
Definition at line 263 of file wirelesssetting.cpp.
◆ name()
|
overridevirtual |
Must be reimplemented, default implementationd does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 67 of file wirelesssetting.cpp.
◆ powerSave()
NetworkManager::WirelessSetting::PowerSave NetworkManager::WirelessSetting::powerSave | ( | ) | const |
Definition at line 291 of file wirelesssetting.cpp.
◆ rate()
quint32 NetworkManager::WirelessSetting::rate | ( | ) | const |
Definition at line 151 of file wirelesssetting.cpp.
◆ security()
QString NetworkManager::WirelessSetting::security | ( | ) | const |
Definition at line 305 of file wirelesssetting.cpp.
◆ seenBssids()
QStringList NetworkManager::WirelessSetting::seenBssids | ( | ) | const |
Definition at line 277 of file wirelesssetting.cpp.
◆ setAssignedMacAddress()
void NetworkManager::WirelessSetting::setAssignedMacAddress | ( | const QString & | assignedMacAddress | ) |
Definition at line 172 of file wirelesssetting.cpp.
◆ setBand()
void NetworkManager::WirelessSetting::setBand | ( | FrequencyBand | band | ) |
Definition at line 102 of file wirelesssetting.cpp.
◆ setBssid()
void NetworkManager::WirelessSetting::setBssid | ( | const QByteArray & | bssid | ) |
Definition at line 130 of file wirelesssetting.cpp.
◆ setChannel()
void NetworkManager::WirelessSetting::setChannel | ( | quint32 | channel | ) |
Definition at line 116 of file wirelesssetting.cpp.
◆ setClonedMacAddress()
void NetworkManager::WirelessSetting::setClonedMacAddress | ( | const QByteArray & | address | ) |
- Deprecated
- since NM 1.4.0, will internally use assigned-mac-address property
Definition at line 200 of file wirelesssetting.cpp.
◆ setGenerateMacAddressMask()
void NetworkManager::WirelessSetting::setGenerateMacAddressMask | ( | const QString & | macAddressMask | ) |
Definition at line 214 of file wirelesssetting.cpp.
◆ setHidden()
void NetworkManager::WirelessSetting::setHidden | ( | bool | hidden | ) |
Definition at line 312 of file wirelesssetting.cpp.
◆ setMacAddress()
void NetworkManager::WirelessSetting::setMacAddress | ( | const QByteArray & | address | ) |
Definition at line 186 of file wirelesssetting.cpp.
◆ setMacAddressBlacklist()
void NetworkManager::WirelessSetting::setMacAddressBlacklist | ( | const QStringList & | list | ) |
Definition at line 228 of file wirelesssetting.cpp.
◆ setMacAddressRandomization()
void NetworkManager::WirelessSetting::setMacAddressRandomization | ( | MacAddressRandomization | randomization | ) |
Definition at line 242 of file wirelesssetting.cpp.
◆ setMode()
void NetworkManager::WirelessSetting::setMode | ( | NetworkMode | mode | ) |
Definition at line 88 of file wirelesssetting.cpp.
◆ setMtu()
void NetworkManager::WirelessSetting::setMtu | ( | quint32 | mtu | ) |
Definition at line 256 of file wirelesssetting.cpp.
◆ setPowerSave()
void NetworkManager::WirelessSetting::setPowerSave | ( | PowerSave | powersave | ) |
Definition at line 284 of file wirelesssetting.cpp.
◆ setRate()
void NetworkManager::WirelessSetting::setRate | ( | quint32 | rate | ) |
Definition at line 144 of file wirelesssetting.cpp.
◆ setSecurity()
void NetworkManager::WirelessSetting::setSecurity | ( | const QString & | security | ) |
- Deprecated
- since NM 1.0.0
Definition at line 298 of file wirelesssetting.cpp.
◆ setSeenBssids()
void NetworkManager::WirelessSetting::setSeenBssids | ( | const QStringList & | list | ) |
Definition at line 270 of file wirelesssetting.cpp.
◆ setSsid()
void NetworkManager::WirelessSetting::setSsid | ( | const QByteArray & | ssid | ) |
Definition at line 74 of file wirelesssetting.cpp.
◆ setTxPower()
void NetworkManager::WirelessSetting::setTxPower | ( | quint32 | power | ) |
Definition at line 158 of file wirelesssetting.cpp.
◆ ssid()
QByteArray NetworkManager::WirelessSetting::ssid | ( | ) | const |
Definition at line 81 of file wirelesssetting.cpp.
◆ toMap()
|
overridevirtual |
Must be reimplemented, default implementationd does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 414 of file wirelesssetting.cpp.
◆ txPower()
quint32 NetworkManager::WirelessSetting::txPower | ( | ) | const |
Definition at line 165 of file wirelesssetting.cpp.
Member Data Documentation
◆ d_ptr
|
protected |
Definition at line 115 of file wirelesssetting.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.