NetworkManager::WiredSetting
#include <wiredsetting.h>
Public Types | |
enum | DuplexType { UnknownDuplexType = 0 , Half , Full } |
typedef QList< Ptr > | List |
enum | PortType { UnknownPort = 0 , Tp , Aui , Bnc , Mii } |
typedef QSharedPointer< WiredSetting > | Ptr |
enum | S390Nettype { Undefined = 0 , Qeth , Lcs , Ctc } |
enum | WakeOnLanFlag { WakeOnLanPhy = 1 << 1 , WakeOnLanUnicast = 1 << 2 , WakeOnLanMulticast = 1 << 3 , WakeOnLanBroadcast = 1 << 4 , WakeOnLanArp = 1 << 5 , WakeOnLanMagic = 1 << 6 , WakeOnLanDefault = 1 << 0 , WakeOnLanIgnore = 1 << 15 } |
typedef QFlags< WakeOnLanFlag > | WakeOnLanFlags |
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 | |
WiredSetting (const Ptr &other) | |
QString | assignedMacAddress () const |
bool | autoNegotiate () const |
QByteArray | clonedMacAddress () const |
DuplexType | duplexType () const |
void | fromMap (const QVariantMap &setting) override |
QString | generateMacAddressMask () const |
QByteArray | macAddress () const |
QStringList | macAddressBlacklist () const |
quint32 | mtu () const |
QString | name () const override |
PortType | port () const |
S390Nettype | s390NetType () const |
QMap< QString, QString > | s390Options () const |
QStringList | s390Subchannels () const |
void | setAssignedMacAddress (const QString &assignedMacAddress) |
void | setAutoNegotiate (bool autoNegotiate) |
void | setClonedMacAddress (const QByteArray &address) |
void | setDuplexType (DuplexType type) |
void | setGenerateMacAddressMask (const QString &mask) |
void | setMacAddress (const QByteArray &address) |
void | setMacAddressBlacklist (const QStringList &list) |
void | setMtu (quint32 mtu) |
void | setPort (PortType port) |
void | setS390NetType (S390Nettype type) |
void | setS390Options (const QMap< QString, QString > &options) |
void | setS390Subchannels (const QStringList &channels) |
void | setSpeed (quint32 speed) |
void | setWakeOnLan (WakeOnLanFlags wol) |
void | setWakeOnLanPassword (const QString &password) |
quint32 | speed () const |
QVariantMap | toMap () const override |
WakeOnLanFlags | wakeOnLan () const |
QString | wakeOnLanPassword () const |
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 | |
WiredSettingPrivate * | 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 wired setting.
Definition at line 22 of file wiredsetting.h.
Member Typedef Documentation
◆ List
Definition at line 26 of file wiredsetting.h.
◆ Ptr
Definition at line 25 of file wiredsetting.h.
◆ WakeOnLanFlags
QFlags< WakeOnLanFlag > NetworkManager::WiredSetting::WakeOnLanFlags |
Definition at line 59 of file wiredsetting.h.
Member Enumeration Documentation
◆ DuplexType
enum NetworkManager::WiredSetting::DuplexType |
Definition at line 35 of file wiredsetting.h.
◆ PortType
enum NetworkManager::WiredSetting::PortType |
Definition at line 27 of file wiredsetting.h.
◆ S390Nettype
enum NetworkManager::WiredSetting::S390Nettype |
Definition at line 41 of file wiredsetting.h.
◆ WakeOnLanFlag
enum NetworkManager::WiredSetting::WakeOnLanFlag |
Definition at line 48 of file wiredsetting.h.
Constructor & Destructor Documentation
◆ WiredSetting() [1/2]
NetworkManager::WiredSetting::WiredSetting | ( | ) |
Definition at line 31 of file wiredsetting.cpp.
◆ WiredSetting() [2/2]
|
explicit |
Definition at line 37 of file wiredsetting.cpp.
◆ ~WiredSetting()
|
override |
Definition at line 58 of file wiredsetting.cpp.
Member Function Documentation
◆ assignedMacAddress()
QString NetworkManager::WiredSetting::assignedMacAddress | ( | ) | const |
Definition at line 273 of file wiredsetting.cpp.
◆ autoNegotiate()
bool NetworkManager::WiredSetting::autoNegotiate | ( | ) | const |
Definition at line 119 of file wiredsetting.cpp.
◆ clonedMacAddress()
QByteArray NetworkManager::WiredSetting::clonedMacAddress | ( | ) | const |
Definition at line 161 of file wiredsetting.cpp.
◆ duplexType()
NetworkManager::WiredSetting::DuplexType NetworkManager::WiredSetting::duplexType | ( | ) | const |
Definition at line 105 of file wiredsetting.cpp.
◆ fromMap()
|
overridevirtual |
Must be reimplemented, default implementation does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 280 of file wiredsetting.cpp.
◆ generateMacAddressMask()
QString NetworkManager::WiredSetting::generateMacAddressMask | ( | ) | const |
Definition at line 126 of file wiredsetting.cpp.
◆ macAddress()
QByteArray NetworkManager::WiredSetting::macAddress | ( | ) | const |
Definition at line 147 of file wiredsetting.cpp.
◆ macAddressBlacklist()
QStringList NetworkManager::WiredSetting::macAddressBlacklist | ( | ) | const |
Definition at line 175 of file wiredsetting.cpp.
◆ mtu()
quint32 NetworkManager::WiredSetting::mtu | ( | ) | const |
Definition at line 189 of file wiredsetting.cpp.
◆ name()
|
overridevirtual |
Must be reimplemented, default implementationd does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 63 of file wiredsetting.cpp.
◆ port()
NetworkManager::WiredSetting::PortType NetworkManager::WiredSetting::port | ( | ) | const |
Definition at line 77 of file wiredsetting.cpp.
◆ s390NetType()
NetworkManager::WiredSetting::S390Nettype NetworkManager::WiredSetting::s390NetType | ( | ) | const |
Definition at line 217 of file wiredsetting.cpp.
◆ s390Options()
Definition at line 231 of file wiredsetting.cpp.
◆ s390Subchannels()
QStringList NetworkManager::WiredSetting::s390Subchannels | ( | ) | const |
Definition at line 203 of file wiredsetting.cpp.
◆ setAssignedMacAddress()
void NetworkManager::WiredSetting::setAssignedMacAddress | ( | const QString & | assignedMacAddress | ) |
Definition at line 266 of file wiredsetting.cpp.
◆ setAutoNegotiate()
void NetworkManager::WiredSetting::setAutoNegotiate | ( | bool | autoNegotiate | ) |
Definition at line 112 of file wiredsetting.cpp.
◆ setClonedMacAddress()
void NetworkManager::WiredSetting::setClonedMacAddress | ( | const QByteArray & | address | ) |
Definition at line 154 of file wiredsetting.cpp.
◆ setDuplexType()
void NetworkManager::WiredSetting::setDuplexType | ( | DuplexType | type | ) |
Definition at line 98 of file wiredsetting.cpp.
◆ setGenerateMacAddressMask()
void NetworkManager::WiredSetting::setGenerateMacAddressMask | ( | const QString & | mask | ) |
Definition at line 133 of file wiredsetting.cpp.
◆ setMacAddress()
void NetworkManager::WiredSetting::setMacAddress | ( | const QByteArray & | address | ) |
Definition at line 140 of file wiredsetting.cpp.
◆ setMacAddressBlacklist()
void NetworkManager::WiredSetting::setMacAddressBlacklist | ( | const QStringList & | list | ) |
Definition at line 168 of file wiredsetting.cpp.
◆ setMtu()
void NetworkManager::WiredSetting::setMtu | ( | quint32 | mtu | ) |
Definition at line 182 of file wiredsetting.cpp.
◆ setPort()
void NetworkManager::WiredSetting::setPort | ( | PortType | port | ) |
Definition at line 70 of file wiredsetting.cpp.
◆ setS390NetType()
void NetworkManager::WiredSetting::setS390NetType | ( | S390Nettype | type | ) |
Definition at line 210 of file wiredsetting.cpp.
◆ setS390Options()
Definition at line 224 of file wiredsetting.cpp.
◆ setS390Subchannels()
void NetworkManager::WiredSetting::setS390Subchannels | ( | const QStringList & | channels | ) |
Definition at line 196 of file wiredsetting.cpp.
◆ setSpeed()
void NetworkManager::WiredSetting::setSpeed | ( | quint32 | speed | ) |
Definition at line 84 of file wiredsetting.cpp.
◆ setWakeOnLan()
void NetworkManager::WiredSetting::setWakeOnLan | ( | WakeOnLanFlags | wol | ) |
Definition at line 245 of file wiredsetting.cpp.
◆ setWakeOnLanPassword()
void NetworkManager::WiredSetting::setWakeOnLanPassword | ( | const QString & | password | ) |
Definition at line 259 of file wiredsetting.cpp.
◆ speed()
quint32 NetworkManager::WiredSetting::speed | ( | ) | const |
Definition at line 91 of file wiredsetting.cpp.
◆ toMap()
|
overridevirtual |
Must be reimplemented, default implementationd does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 374 of file wiredsetting.cpp.
◆ wakeOnLan()
NetworkManager::WiredSetting::WakeOnLanFlags NetworkManager::WiredSetting::wakeOnLan | ( | ) | const |
Definition at line 238 of file wiredsetting.cpp.
◆ wakeOnLanPassword()
QString NetworkManager::WiredSetting::wakeOnLanPassword | ( | ) | const |
Definition at line 252 of file wiredsetting.cpp.
Member Data Documentation
◆ d_ptr
|
protected |
Definition at line 118 of file wiredsetting.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:06 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.