NetworkManager::TeamPortSetting

Search for usage in LXR

NetworkManager::TeamPortSetting Class Reference

#include <teamportsetting.h>

Inheritance diagram for NetworkManager::TeamPortSetting:

Public Types

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

 TeamPortSetting (const Ptr &other)
 
QString config () const
 
void config (const QString &config)
 
void fromMap (const QVariantMap &setting) override
 
qint32 lacpKey () const
 
void lacpKey (qint32 key)
 
qint32 lacpPrio () const
 
void lacpPrio (qint32 priority)
 
NMVariantMapList linkWatchers () const
 
QString name () const override
 
qint32 prio () const
 
void prio (qint32 prio)
 
qint32 queueId () const
 
void queueId (qint32 id)
 
void setLinkWatchers (const NMVariantMapList &linkWatchers)
 
bool sticky () const
 
void sticky (bool sticky)
 
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

TeamPortSettingPrivate * 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 TeamPort setting.

Definition at line 22 of file teamportsetting.h.

Member Typedef Documentation

◆ List

◆ Ptr

Constructor & Destructor Documentation

◆ TeamPortSetting() [1/2]

NetworkManager::TeamPortSetting::TeamPortSetting ( )

Definition at line 34 of file teamportsetting.cpp.

◆ TeamPortSetting() [2/2]

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

Definition at line 40 of file teamportsetting.cpp.

◆ ~TeamPortSetting()

NetworkManager::TeamPortSetting::~TeamPortSetting ( )
override

Definition at line 53 of file teamportsetting.cpp.

Member Function Documentation

◆ config() [1/2]

QString NetworkManager::TeamPortSetting::config ( ) const

Definition at line 72 of file teamportsetting.cpp.

◆ config() [2/2]

void NetworkManager::TeamPortSetting::config ( const QString & config)

Definition at line 65 of file teamportsetting.cpp.

◆ fromMap()

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

Must be reimplemented, default implementation does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 163 of file teamportsetting.cpp.

◆ lacpKey() [1/2]

qint32 NetworkManager::TeamPortSetting::lacpKey ( ) const

Definition at line 86 of file teamportsetting.cpp.

◆ lacpKey() [2/2]

void NetworkManager::TeamPortSetting::lacpKey ( qint32 key)

Definition at line 79 of file teamportsetting.cpp.

◆ lacpPrio() [1/2]

qint32 NetworkManager::TeamPortSetting::lacpPrio ( ) const

Definition at line 100 of file teamportsetting.cpp.

◆ lacpPrio() [2/2]

void NetworkManager::TeamPortSetting::lacpPrio ( qint32 priority)

Definition at line 93 of file teamportsetting.cpp.

◆ linkWatchers()

NMVariantMapList NetworkManager::TeamPortSetting::linkWatchers ( ) const

Definition at line 156 of file teamportsetting.cpp.

◆ name()

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

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 58 of file teamportsetting.cpp.

◆ prio() [1/2]

qint32 NetworkManager::TeamPortSetting::prio ( ) const

Definition at line 114 of file teamportsetting.cpp.

◆ prio() [2/2]

void NetworkManager::TeamPortSetting::prio ( qint32 prio)

Definition at line 107 of file teamportsetting.cpp.

◆ queueId() [1/2]

qint32 NetworkManager::TeamPortSetting::queueId ( ) const

Definition at line 128 of file teamportsetting.cpp.

◆ queueId() [2/2]

void NetworkManager::TeamPortSetting::queueId ( qint32 id)

Definition at line 121 of file teamportsetting.cpp.

◆ setLinkWatchers()

void NetworkManager::TeamPortSetting::setLinkWatchers ( const NMVariantMapList & linkWatchers)

Definition at line 149 of file teamportsetting.cpp.

◆ sticky() [1/2]

bool NetworkManager::TeamPortSetting::sticky ( ) const

Definition at line 142 of file teamportsetting.cpp.

◆ sticky() [2/2]

void NetworkManager::TeamPortSetting::sticky ( bool sticky)

Definition at line 135 of file teamportsetting.cpp.

◆ toMap()

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

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 194 of file teamportsetting.cpp.

Member Data Documentation

◆ d_ptr

TeamPortSettingPrivate* NetworkManager::TeamPortSetting::d_ptr
protected

Definition at line 60 of file teamportsetting.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 Sat Dec 21 2024 16:56:21 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.