NetworkManager::BridgePortSetting

Search for usage in LXR

NetworkManager::BridgePortSetting Class Reference

#include <bridgeportsetting.h>

Inheritance diagram for NetworkManager::BridgePortSetting:

Public Types

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

 BridgePortSetting (const Ptr &other)
 
void fromMap (const QVariantMap &setting) override
 
bool hairpinMode () const
 
QString name () const override
 
quint32 pathCost () const
 
quint32 priority () const
 
void setHairpinMode (bool enable)
 
void setPathCost (quint32 cost)
 
void setPriority (quint32 priority)
 
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

BridgePortSettingPrivate * 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 bridge port setting.

Definition at line 22 of file bridgeportsetting.h.

Member Typedef Documentation

◆ List

◆ Ptr

Constructor & Destructor Documentation

◆ BridgePortSetting() [1/2]

NetworkManager::BridgePortSetting::BridgePortSetting ( )

Definition at line 20 of file bridgeportsetting.cpp.

◆ BridgePortSetting() [2/2]

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

Definition at line 26 of file bridgeportsetting.cpp.

◆ ~BridgePortSetting()

NetworkManager::BridgePortSetting::~BridgePortSetting ( )
override

Definition at line 35 of file bridgeportsetting.cpp.

Member Function Documentation

◆ fromMap()

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

Must be reimplemented, default implementation does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 89 of file bridgeportsetting.cpp.

◆ hairpinMode()

bool NetworkManager::BridgePortSetting::hairpinMode ( ) const

Definition at line 82 of file bridgeportsetting.cpp.

◆ name()

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

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 40 of file bridgeportsetting.cpp.

◆ pathCost()

quint32 NetworkManager::BridgePortSetting::pathCost ( ) const

Definition at line 68 of file bridgeportsetting.cpp.

◆ priority()

quint32 NetworkManager::BridgePortSetting::priority ( ) const

Definition at line 54 of file bridgeportsetting.cpp.

◆ setHairpinMode()

void NetworkManager::BridgePortSetting::setHairpinMode ( bool enable)

Definition at line 75 of file bridgeportsetting.cpp.

◆ setPathCost()

void NetworkManager::BridgePortSetting::setPathCost ( quint32 cost)

Definition at line 61 of file bridgeportsetting.cpp.

◆ setPriority()

void NetworkManager::BridgePortSetting::setPriority ( quint32 priority)

Definition at line 47 of file bridgeportsetting.cpp.

◆ toMap()

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

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 104 of file bridgeportsetting.cpp.

Member Data Documentation

◆ d_ptr

BridgePortSettingPrivate* NetworkManager::BridgePortSetting::d_ptr
protected

Definition at line 47 of file bridgeportsetting.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 Nov 8 2024 11:48:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.