NetworkManager::AdslSetting

Search for usage in LXR

NetworkManager::AdslSetting Class Reference

#include <adslsetting.h>

Inheritance diagram for NetworkManager::AdslSetting:

Public Types

enum  Encapsulation { UnknownEncapsulation = 0 , Vcmux , Llc }
 
typedef QList< PtrList
 
enum  Protocol { UnknownProtocol = 0 , Pppoa , Pppoe , Ipoatm }
 
typedef QSharedPointer< AdslSettingPtr
 
- 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

 AdslSetting (const Ptr &other)
 
Encapsulation encapsulation () const
 
void fromMap (const QVariantMap &setting) override
 
QString name () const override
 
QStringList needSecrets (bool requestNew=false) const override
 
QString password () const
 
SecretFlags passwordFlags () const
 
Protocol protocol () const
 
void setEncapsulation (Encapsulation encapsulation)
 
void setPassword (const QString &password)
 
void setPasswordFlags (SecretFlags flags)
 
void setProtocol (Protocol protocol)
 
void setUsername (const QString &username)
 
void setVci (quint32 vci)
 
void setVpi (quint32 vpi)
 
QVariantMap toMap () const override
 
QString username () const
 
quint32 vci () const
 
quint32 vpi () const
 
- Public Member Functions inherited from NetworkManager::Setting
 Setting (const Ptr &setting)
 
 Setting (SettingType type)
 
bool isNull () 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

AdslSettingPrivate * 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 adsl setting.

Definition at line 22 of file adslsetting.h.

Member Typedef Documentation

◆ List

◆ Ptr

Member Enumeration Documentation

◆ Encapsulation

enum NetworkManager::AdslSetting::Encapsulation

Definition at line 33 of file adslsetting.h.

◆ Protocol

enum NetworkManager::AdslSetting::Protocol

Definition at line 27 of file adslsetting.h.

Constructor & Destructor Documentation

◆ AdslSetting() [1/2]

NetworkManager::AdslSetting::AdslSetting ( )

Definition at line 23 of file adslsetting.cpp.

◆ AdslSetting() [2/2]

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

Definition at line 29 of file adslsetting.cpp.

◆ ~AdslSetting()

NetworkManager::AdslSetting::~AdslSetting ( )
override

Definition at line 43 of file adslsetting.cpp.

Member Function Documentation

◆ encapsulation()

NetworkManager::AdslSetting::Encapsulation NetworkManager::AdslSetting::encapsulation ( ) const

Definition at line 118 of file adslsetting.cpp.

◆ fromMap()

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

Must be reimplemented, default implementation does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 164 of file adslsetting.cpp.

◆ name()

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

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 48 of file adslsetting.cpp.

◆ needSecrets()

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

Reimplemented from NetworkManager::Setting.

Definition at line 153 of file adslsetting.cpp.

◆ password()

QString NetworkManager::AdslSetting::password ( ) const

Definition at line 76 of file adslsetting.cpp.

◆ passwordFlags()

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

Definition at line 90 of file adslsetting.cpp.

◆ protocol()

NetworkManager::AdslSetting::Protocol NetworkManager::AdslSetting::protocol ( ) const

Definition at line 104 of file adslsetting.cpp.

◆ setEncapsulation()

void NetworkManager::AdslSetting::setEncapsulation ( Encapsulation encapsulation)

Definition at line 111 of file adslsetting.cpp.

◆ setPassword()

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

Definition at line 69 of file adslsetting.cpp.

◆ setPasswordFlags()

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

Definition at line 83 of file adslsetting.cpp.

◆ setProtocol()

void NetworkManager::AdslSetting::setProtocol ( Protocol protocol)

Definition at line 97 of file adslsetting.cpp.

◆ setUsername()

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

Definition at line 55 of file adslsetting.cpp.

◆ setVci()

void NetworkManager::AdslSetting::setVci ( quint32 vci)

Definition at line 139 of file adslsetting.cpp.

◆ setVpi()

void NetworkManager::AdslSetting::setVpi ( quint32 vpi)

Definition at line 125 of file adslsetting.cpp.

◆ toMap()

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

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 209 of file adslsetting.cpp.

◆ username()

QString NetworkManager::AdslSetting::username ( ) const

Definition at line 62 of file adslsetting.cpp.

◆ vci()

quint32 NetworkManager::AdslSetting::vci ( ) const

Definition at line 146 of file adslsetting.cpp.

◆ vpi()

quint32 NetworkManager::AdslSetting::vpi ( ) const

Definition at line 132 of file adslsetting.cpp.

Member Data Documentation

◆ d_ptr

AdslSettingPrivate* NetworkManager::AdslSetting::d_ptr
protected

Definition at line 73 of file adslsetting.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 20 2024 11:59:05 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.