NetworkManager::PppoeSetting
#include <pppoesetting.h>
Public Types | |
typedef QList< Ptr > | List |
typedef QSharedPointer< PppoeSetting > | Ptr |
Public Types inherited from NetworkManager::Setting | |
typedef QList< Ptr > | List |
enum | MacAddressRandomization { MacAddressRandomizationDefault = 0 , MacAddressRandomizationNever , MacAddressRandomizationAlways } |
typedef QSharedPointer< Setting > | Ptr |
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
Definition at line 26 of file pppoesetting.h.
◆ Ptr
Definition at line 25 of file pppoesetting.h.
Constructor & Destructor Documentation
◆ PppoeSetting() [1/2]
NetworkManager::PppoeSetting::PppoeSetting | ( | ) |
Definition at line 18 of file pppoesetting.cpp.
◆ PppoeSetting() [2/2]
|
explicit |
Definition at line 24 of file pppoesetting.cpp.
◆ ~PppoeSetting()
|
override |
Definition at line 34 of file pppoesetting.cpp.
Member Function Documentation
◆ fromMap()
|
overridevirtual |
Must be reimplemented, default implementation does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 145 of file pppoesetting.cpp.
◆ name()
|
overridevirtual |
Must be reimplemented, default implementationd does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 39 of file pppoesetting.cpp.
◆ needSecrets()
|
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()
|
overridevirtual |
Reimplemented from NetworkManager::Setting.
Definition at line 127 of file pppoesetting.cpp.
◆ secretsToMap()
|
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()
|
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
|
protected |
Definition at line 59 of file pppoesetting.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 13 2024 11:52:31 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.