Search for usage in LXR

NetworkManager::WiredSetting Class Reference

#include <wiredsetting.h>

Inheritance diagram for NetworkManager::WiredSetting:

Public Types

enum  DuplexType { UnknownDuplexType = 0, Half, Full }
typedef QList< PtrList
enum  PortType {
  UnknownPort = 0, Tp, Aui, Bnc,
typedef QSharedPointer< WiredSettingPtr
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< 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

 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, QStrings390Options () 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 Function Documentation

◆ fromMap()

void NetworkManager::WiredSetting::fromMap ( const QVariantMap &  map)

Must be reimplemented, default implementation does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 280 of file wiredsetting.cpp.

◆ name()

QString NetworkManager::WiredSetting::name ( ) const

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 63 of file wiredsetting.cpp.

◆ toMap()

QVariantMap NetworkManager::WiredSetting::toMap ( ) const

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 374 of file wiredsetting.cpp.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 04:05:36 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.