NetworkManager::TcSetting

Search for usage in LXR

NetworkManager::TcSetting Class Reference

#include <tcsetting.h>

Inheritance diagram for NetworkManager::TcSetting:

Public Types

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

 TcSetting (const Ptr &other)
 
void fromMap (const QVariantMap &setting) override
 
QString name () const override
 
NMVariantMapList qdiscs () const
 
void setQdiscs (const NMVariantMapList &qdiscs)
 
void setTfilters (const NMVariantMapList &tfilters)
 
NMVariantMapList tfilters () const
 
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

TcSettingPrivate * 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 Tc setting.

Definition at line 20 of file tcsetting.h.

Member Typedef Documentation

◆ List

Definition at line 24 of file tcsetting.h.

◆ Ptr

Constructor & Destructor Documentation

◆ TcSetting() [1/2]

NetworkManager::TcSetting::TcSetting ( )

Definition at line 24 of file tcsetting.cpp.

◆ TcSetting() [2/2]

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

Definition at line 30 of file tcsetting.cpp.

◆ ~TcSetting()

NetworkManager::TcSetting::~TcSetting ( )
override

Definition at line 38 of file tcsetting.cpp.

Member Function Documentation

◆ fromMap()

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

Must be reimplemented, default implementation does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 78 of file tcsetting.cpp.

◆ name()

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

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 43 of file tcsetting.cpp.

◆ qdiscs()

NMVariantMapList NetworkManager::TcSetting::qdiscs ( ) const

Definition at line 57 of file tcsetting.cpp.

◆ setQdiscs()

void NetworkManager::TcSetting::setQdiscs ( const NMVariantMapList & qdiscs)

Definition at line 50 of file tcsetting.cpp.

◆ setTfilters()

void NetworkManager::TcSetting::setTfilters ( const NMVariantMapList & tfilters)

Definition at line 64 of file tcsetting.cpp.

◆ tfilters()

NMVariantMapList NetworkManager::TcSetting::tfilters ( ) const

Definition at line 71 of file tcsetting.cpp.

◆ toMap()

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

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 89 of file tcsetting.cpp.

Member Data Documentation

◆ d_ptr

TcSettingPrivate* NetworkManager::TcSetting::d_ptr
protected

Definition at line 43 of file tcsetting.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:06 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.