Search for usage in LXR

NetworkManager::WirelessSecuritySetting Class Reference

#include <wirelesssecuritysetting.h>

Inheritance diagram for NetworkManager::WirelessSecuritySetting:

Public Types

enum  AuthAlg { None, Open, Shared, Leap }
enum  KeyMgmt {
  Unknown = -1, Wep, Ieee8021x, WpaNone,
  WpaPsk, WpaEap, SAE, WpaEapSuiteB192
typedef QList< PtrList
enum  Pmf { DefaultPmf, DisablePmf, OptionalPmf, RequiredPmf }
typedef QSharedPointer< WirelessSecuritySettingPtr
enum  WepKeyType { NotSpecified, Hex, Passphrase }
enum  WpaEncryptionCapabilities { Wep40, Wep104, Tkip, Ccmp }
enum  WpaProtocolVersion { Wpa, Rsn }
- 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

 WirelessSecuritySetting (const Ptr &other)
AuthAlg authAlg () const
void fromMap (const QVariantMap &map) override
QList< WpaEncryptionCapabilities > group () const
KeyMgmt keyMgmt () const
QString leapPassword () const
SecretFlags leapPasswordFlags () const
QString leapUsername () const
QString name () const override
QStringList needSecrets (bool requestNew=false) const override
QList< WpaEncryptionCapabilities > pairwise () const
Pmf pmf () const
QList< WpaProtocolVersion > proto () const
QString psk () const
SecretFlags pskFlags () const
void secretsFromMap (const QVariantMap &secrets) override
QVariantMap secretsToMap () const override
void setAuthAlg (AuthAlg alg)
void setGroup (const QList< WpaEncryptionCapabilities > &list)
void setKeyMgmt (KeyMgmt mgmt)
void setLeapPassword (const QString &password)
void setLeapPasswordFlags (SecretFlags type)
void setLeapUsername (const QString &username)
void setPairwise (const QList< WpaEncryptionCapabilities > &list)
void setPmf (Pmf pmf)
void setProto (const QList< WpaProtocolVersion > &list)
void setPsk (const QString &key)
void setPskFlags (SecretFlags type)
void setWepKey0 (const QString key)
void setWepKey1 (const QString key)
void setWepKey2 (const QString key)
void setWepKey3 (const QString key)
void setWepKeyFlags (SecretFlags type)
void setWepKeyType (WepKeyType type)
void setWepTxKeyindex (quint32 index)
QVariantMap toMap () const override
QString wepKey0 () const
QString wepKey1 () const
QString wepKey2 () const
QString wepKey3 () const
SecretFlags wepKeyFlags () const
WepKeyType wepKeyType () const
quint32 wepTxKeyindex () const
- Public Member Functions inherited from NetworkManager::Setting
 Setting (const Ptr &setting)
 Setting (SettingType type)
bool isNull () const
virtual void secretsFromStringMap (const NMStringMap &map)
virtual NMStringMap secretsToStringMap () const
void setInitialized (bool initialized)
void setType (SettingType type)
SettingType type () const

Protected Attributes

WirelessSecuritySettingPrivate * 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 security setting.

Definition at line 22 of file wirelesssecuritysetting.h.

Member Function Documentation

◆ fromMap()

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

Must be reimplemented, default implementation does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 436 of file wirelesssecuritysetting.cpp.

◆ name()

QString NetworkManager::WirelessSecuritySetting::name ( ) const

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 63 of file wirelesssecuritysetting.cpp.

◆ toMap()

QVariantMap NetworkManager::WirelessSecuritySetting::toMap ( ) const

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 574 of file wirelesssecuritysetting.cpp.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Sep 26 2023 04:03:52 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.