Search for usage in LXR

NetworkManager::DcbSetting Class Reference

#include <dcbsetting.h>

Inheritance diagram for NetworkManager::DcbSetting:

Public Types

typedef QFlags< DcbFlagType > DcbFlags
enum  DcbFlagType { None = 0, Enable = 0x01, Advertise = 0x02, Willing = 0x04 }
typedef QList< PtrList
typedef QSharedPointer< DcbSettingPtr
- 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

 DcbSetting (const Ptr &other)
DcbFlags appFcoeFlags () const
QString appFcoeMode () const
qint32 appFcoePriority () const
DcbFlags appFipFlags () const
qint32 appFipPriority () const
DcbFlags appIscsiFlags () const
qint32 appIscsiPriority () const
void fromMap (const QVariantMap &setting) override
QString name () const override
UIntList priorityBandwidth () const
quint32 priorityBandwidth (quint32 userPriority) const
UIntList priorityFlowControl () const
bool priorityFlowControl (quint32 userPriority) const
DcbFlags priorityFlowControlFlags () const
UIntList priorityGroupBandwidth () const
quint32 priorityGroupBandwidth (quint32 groupId) const
DcbFlags priorityGroupFlags () const
UIntList priorityGroupId () const
quint32 priorityGroupId (quint32 userPriority) const
UIntList priorityStrictBandwidth () const
bool priorityStrictBandwidth (quint32 userPriority) const
UIntList priorityTrafficClass () const
quint32 priorityTrafficClass (quint32 userPriority) const
void setAppFcoeFlags (DcbFlags flags)
void setAppFcoeMode (const QString &mode)
void setAppFcoePriority (qint32 priority)
void setAppFipFlags (DcbFlags flags)
void setAppFipPriority (qint32 priority)
void setAppIscsiFlags (DcbFlags flags)
void setAppIscsiPriority (qint32 priority)
void setPriorityBandwidth (const UIntList &list)
void setPriorityBandwidth (quint32 userPriority, quint32 bandwidthPercent)
void setPriorityFlowControl (const UIntList &list)
void setPriorityFlowControl (quint32 userPriority, bool enabled)
void setPriorityFlowControlFlags (DcbFlags flags)
void setPriorityGroupBandwidth (const UIntList &list)
void setPriorityGroupBandwidth (quint32 groupId, quint32 bandwidthPercent)
void setPriorityGroupFlags (DcbFlags flags)
void setPriorityGroupId (const UIntList &list)
void setPriorityGroupId (quint32 userPriority, quint32 groupId)
void setPriorityStrictBandwidth (const UIntList &list)
void setPriorityStrictBandwidth (quint32 userPriority, bool strict)
void setPriorityTrafficClass (const UIntList &list)
void setPriorityTrafficClass (quint32 userPriority, quint32 trafficClass)
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

DcbSettingPrivate * 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 Dcb setting.

Definition at line 22 of file dcbsetting.h.

Member Function Documentation

◆ fromMap()

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

Must be reimplemented, default implementation does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 390 of file dcbsetting.cpp.

◆ name()

QString NetworkManager::DcbSetting::name ( ) const

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 59 of file dcbsetting.cpp.

◆ toMap()

QVariantMap NetworkManager::DcbSetting::toMap ( ) const

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 453 of file dcbsetting.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.