NetworkManager::TemplateSetting

Search for usage in LXR

NetworkManager::TemplateSetting Class Reference

#include <template.h>

Inheritance diagram for NetworkManager::TemplateSetting:

Public Types

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

 TemplateSetting (const Ptr &other)
 
void fromMap (const QVariantMap &setting) override
 
QString name () const override
 
QVariantMap toMap () const override
 
- Public Member Functions inherited from NetworkManager::Setting
 Setting (const Ptr &setting)
 
 Setting (SettingType type)
 
bool isNull () const
 
virtual QStringList needSecrets (bool requestNew=false) 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

TemplateSettingPrivate * 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 generic setting.

Definition at line 22 of file template.h.

Member Typedef Documentation

◆ List

Definition at line 26 of file template.h.

◆ Ptr

Constructor & Destructor Documentation

◆ TemplateSetting() [1/2]

NetworkManager::TemplateSetting::TemplateSetting ( )

Definition at line 18 of file template.cpp.

◆ TemplateSetting() [2/2]

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

Definition at line 27 of file template.cpp.

◆ ~TemplateSetting()

NetworkManager::TemplateSetting::~TemplateSetting ( )
override

Definition at line 37 of file template.cpp.

Member Function Documentation

◆ fromMap()

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

Must be reimplemented, default implementation does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 49 of file template.cpp.

◆ name()

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

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 42 of file template.cpp.

◆ toMap()

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

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 59 of file template.cpp.

Member Data Documentation

◆ d_ptr

TemplateSettingPrivate* NetworkManager::TemplateSetting::d_ptr
protected

Definition at line 38 of file template.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 Jun 14 2024 12:00:32 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.