Search for usage in LXR

NetworkManager::WirelessSetting Class Reference

#include <wirelesssetting.h>

Inheritance diagram for NetworkManager::WirelessSetting:

Public Types

enum  FrequencyBand { Automatic, A, Bg }
typedef QList< PtrList
enum  NetworkMode { Infrastructure, Adhoc, Ap }
enum  PowerSave { PowerSaveDefault = 0, PowerSaveIgnore = 1, PowerSaveDisable = 2, PowerSaveEnable = 3 }
typedef QSharedPointer< WirelessSettingPtr
- Public Types inherited from NetworkManager::Setting
typedef QList< PtrList
enum  MacAddressRandomization { MacAddressRandomizationDefault = 0, MacAddressRandomizationNever, MacAddressRandomizationAlways }
typedef QSharedPointer< SettingPtr
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 Function Documentation

◆ fromMap()

void NetworkManager::WirelessSetting::fromMap ( const QVariantMap &  map)

Must be reimplemented, default implementation does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 326 of file wirelesssetting.cpp.

◆ name()

QString NetworkManager::WirelessSetting::name ( ) const

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 67 of file wirelesssetting.cpp.

◆ setClonedMacAddress()

void NetworkManager::WirelessSetting::setClonedMacAddress ( const QByteArray address)
since NM 1.4.0, will internally use assigned-mac-address property

Definition at line 200 of file wirelesssetting.cpp.

◆ setSecurity()

void NetworkManager::WirelessSetting::setSecurity ( const QString security)
since NM 1.0.0

Definition at line 298 of file wirelesssetting.cpp.

◆ toMap()

QVariantMap NetworkManager::WirelessSetting::toMap ( ) const

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 414 of file wirelesssetting.cpp.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Feb 15 2024 03:57:46 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.