NetworkManager::CdmaSetting

Search for usage in LXR

NetworkManager::CdmaSetting Class Reference

#include <cdmasetting.h>

Inheritance diagram for NetworkManager::CdmaSetting:

Public Types

typedef QList< PtrList
 
typedef QSharedPointer< CdmaSettingPtr
 
- 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

 CdmaSetting (const Ptr &other)
 
void fromMap (const QVariantMap &setting) override
 
QString name () const override
 
QStringList needSecrets (bool requestNew=false) const override
 
QString number () const
 
QString password () const
 
SecretFlags passwordFlags () const
 
void secretsFromMap (const QVariantMap &secrets) override
 
QVariantMap secretsToMap () const override
 
void setNumber (const QString &number)
 
void setPassword (const QString &password)
 
void setPasswordFlags (SecretFlags flags)
 
void setUsername (const QString &username)
 
QVariantMap toMap () const override
 
QString username () 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

CdmaSettingPrivate * 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 cdma setting.

Definition at line 22 of file cdmasetting.h.

Member Typedef Documentation

◆ List

◆ Ptr

Constructor & Destructor Documentation

◆ CdmaSetting() [1/2]

NetworkManager::CdmaSetting::CdmaSetting ( )

Definition at line 18 of file cdmasetting.cpp.

◆ CdmaSetting() [2/2]

NetworkManager::CdmaSetting::CdmaSetting ( const Ptr & other)
explicit

Definition at line 24 of file cdmasetting.cpp.

◆ ~CdmaSetting()

NetworkManager::CdmaSetting::~CdmaSetting ( )
override

Definition at line 34 of file cdmasetting.cpp.

Member Function Documentation

◆ fromMap()

void NetworkManager::CdmaSetting::fromMap ( const QVariantMap & map)
overridevirtual

Must be reimplemented, default implementation does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 132 of file cdmasetting.cpp.

◆ name()

QString NetworkManager::CdmaSetting::name ( ) const
overridevirtual

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 39 of file cdmasetting.cpp.

◆ needSecrets()

QStringList NetworkManager::CdmaSetting::needSecrets ( bool requestNew = false) const
overridevirtual

Reimplemented from NetworkManager::Setting.

Definition at line 102 of file cdmasetting.cpp.

◆ number()

QString NetworkManager::CdmaSetting::number ( ) const

Definition at line 53 of file cdmasetting.cpp.

◆ password()

QString NetworkManager::CdmaSetting::password ( ) const

Definition at line 81 of file cdmasetting.cpp.

◆ passwordFlags()

NetworkManager::Setting::SecretFlags NetworkManager::CdmaSetting::passwordFlags ( ) const

Definition at line 95 of file cdmasetting.cpp.

◆ secretsFromMap()

void NetworkManager::CdmaSetting::secretsFromMap ( const QVariantMap & secrets)
overridevirtual

Reimplemented from NetworkManager::Setting.

Definition at line 114 of file cdmasetting.cpp.

◆ secretsToMap()

QVariantMap NetworkManager::CdmaSetting::secretsToMap ( ) const
overridevirtual

Reimplemented from NetworkManager::Setting.

Definition at line 121 of file cdmasetting.cpp.

◆ setNumber()

void NetworkManager::CdmaSetting::setNumber ( const QString & number)

Definition at line 46 of file cdmasetting.cpp.

◆ setPassword()

void NetworkManager::CdmaSetting::setPassword ( const QString & password)

Definition at line 74 of file cdmasetting.cpp.

◆ setPasswordFlags()

void NetworkManager::CdmaSetting::setPasswordFlags ( SecretFlags flags)

Definition at line 88 of file cdmasetting.cpp.

◆ setUsername()

void NetworkManager::CdmaSetting::setUsername ( const QString & username)

Definition at line 60 of file cdmasetting.cpp.

◆ toMap()

QVariantMap NetworkManager::CdmaSetting::toMap ( ) const
overridevirtual

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 152 of file cdmasetting.cpp.

◆ username()

QString NetworkManager::CdmaSetting::username ( ) const

Definition at line 67 of file cdmasetting.cpp.

Member Data Documentation

◆ d_ptr

CdmaSettingPrivate* NetworkManager::CdmaSetting::d_ptr
protected

Definition at line 56 of file cdmasetting.h.


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 Fri Dec 27 2024 11:55:21 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.