NetworkManager::PppoeSetting

Search for usage in LXR

NetworkManager::PppoeSetting Class Reference

#include <pppoesetting.h>

Inheritance diagram for NetworkManager::PppoeSetting:

Public Types

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

 PppoeSetting (const Ptr &other)
 
void fromMap (const QVariantMap &setting) override
 
QString name () const override
 
QStringList needSecrets (bool requestNew=false) const override
 
QString parent () const
 
QString password () const
 
Setting::SecretFlags passwordFlags () const
 
void secretsFromMap (const QVariantMap &secrets) override
 
QVariantMap secretsToMap () const override
 
QString service () const
 
void setParent (const QString &parent)
 
void setPassword (const QString &password)
 
void setPasswordFlags (Setting::SecretFlags flags)
 
void setService (const QString &service)
 
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

PppoeSettingPrivate * 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 pppoe setting.

Definition at line 22 of file pppoesetting.h.

Member Typedef Documentation

◆ List

◆ Ptr

Constructor & Destructor Documentation

◆ PppoeSetting() [1/2]

NetworkManager::PppoeSetting::PppoeSetting ( )

Definition at line 18 of file pppoesetting.cpp.

◆ PppoeSetting() [2/2]

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

Definition at line 24 of file pppoesetting.cpp.

◆ ~PppoeSetting()

NetworkManager::PppoeSetting::~PppoeSetting ( )
override

Definition at line 34 of file pppoesetting.cpp.

Member Function Documentation

◆ fromMap()

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

Must be reimplemented, default implementation does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 145 of file pppoesetting.cpp.

◆ name()

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

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 39 of file pppoesetting.cpp.

◆ needSecrets()

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

Reimplemented from NetworkManager::Setting.

Definition at line 116 of file pppoesetting.cpp.

◆ parent()

QString NetworkManager::PppoeSetting::parent ( ) const

Definition at line 67 of file pppoesetting.cpp.

◆ password()

QString NetworkManager::PppoeSetting::password ( ) const

Definition at line 95 of file pppoesetting.cpp.

◆ passwordFlags()

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

Definition at line 109 of file pppoesetting.cpp.

◆ secretsFromMap()

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

Reimplemented from NetworkManager::Setting.

Definition at line 127 of file pppoesetting.cpp.

◆ secretsToMap()

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

Reimplemented from NetworkManager::Setting.

Definition at line 134 of file pppoesetting.cpp.

◆ service()

QString NetworkManager::PppoeSetting::service ( ) const

Definition at line 53 of file pppoesetting.cpp.

◆ setParent()

void NetworkManager::PppoeSetting::setParent ( const QString & parent)

Definition at line 60 of file pppoesetting.cpp.

◆ setPassword()

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

Definition at line 88 of file pppoesetting.cpp.

◆ setPasswordFlags()

void NetworkManager::PppoeSetting::setPasswordFlags ( Setting::SecretFlags flags)

Definition at line 102 of file pppoesetting.cpp.

◆ setService()

void NetworkManager::PppoeSetting::setService ( const QString & service)

Definition at line 46 of file pppoesetting.cpp.

◆ setUsername()

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

Definition at line 74 of file pppoesetting.cpp.

◆ toMap()

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

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 164 of file pppoesetting.cpp.

◆ username()

QString NetworkManager::PppoeSetting::username ( ) const

Definition at line 81 of file pppoesetting.cpp.

Member Data Documentation

◆ d_ptr

PppoeSettingPrivate* NetworkManager::PppoeSetting::d_ptr
protected

Definition at line 59 of file pppoesetting.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 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.