NetworkManager::BondSetting
#include <bondsetting.h>
Public Types | |
typedef QList< Ptr > | List |
typedef QSharedPointer< BondSetting > | 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 | |
BondSetting (const Ptr &other) | |
void | addOption (const QString &option, const QString &value) |
void | fromMap (const QVariantMap &setting) override |
QString | interfaceName () const |
QString | name () const override |
NMStringMap | options () const |
void | setInterfaceName (const QString &name) |
void | setOptions (const NMStringMap &options) |
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 | |
BondSettingPrivate * | 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 bond setting.
Definition at line 22 of file bondsetting.h.
Member Typedef Documentation
◆ List
Definition at line 26 of file bondsetting.h.
◆ Ptr
Definition at line 25 of file bondsetting.h.
Constructor & Destructor Documentation
◆ BondSetting() [1/2]
NetworkManager::BondSetting::BondSetting | ( | ) |
Definition at line 19 of file bondsetting.cpp.
◆ BondSetting() [2/2]
|
explicit |
Definition at line 25 of file bondsetting.cpp.
◆ ~BondSetting()
|
override |
Definition at line 33 of file bondsetting.cpp.
Member Function Documentation
◆ addOption()
Definition at line 59 of file bondsetting.cpp.
◆ fromMap()
|
overridevirtual |
Must be reimplemented, default implementation does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 80 of file bondsetting.cpp.
◆ interfaceName()
QString NetworkManager::BondSetting::interfaceName | ( | ) | const |
Definition at line 52 of file bondsetting.cpp.
◆ name()
|
overridevirtual |
Must be reimplemented, default implementationd does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 38 of file bondsetting.cpp.
◆ options()
NMStringMap NetworkManager::BondSetting::options | ( | ) | const |
Definition at line 73 of file bondsetting.cpp.
◆ setInterfaceName()
void NetworkManager::BondSetting::setInterfaceName | ( | const QString & | name | ) |
- Deprecated
- in favor of connection.interface-name in NM 1.0.0
Definition at line 45 of file bondsetting.cpp.
◆ setOptions()
void NetworkManager::BondSetting::setOptions | ( | const NMStringMap & | options | ) |
Definition at line 66 of file bondsetting.cpp.
◆ toMap()
|
overridevirtual |
Must be reimplemented, default implementationd does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 91 of file bondsetting.cpp.
Member Data Documentation
◆ d_ptr
|
protected |
Definition at line 46 of file bondsetting.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:59:05 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.