Search for usage in LXR

NetworkManager::Ipv4Setting Class Reference

#include <ipv4setting.h>

Inheritance diagram for NetworkManager::Ipv4Setting:

Public Types

enum  ConfigMethod {
  Automatic, LinkLocal, Manual, Shared,
typedef QList< PtrList
typedef QSharedPointer< Ipv4SettingPtr
- 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

 Ipv4Setting (const Ptr &other)
NMVariantMapList addressData () const
QList< NetworkManager::IpAddressaddresses () const
qint32 dadTimeout () const
QString dhcpClientId () const
QString dhcpFqdn () const
QString dhcpHostname () const
bool dhcpSendHostname () const
QList< QHostAddressdns () const
QStringList dnsOptions () const
qint32 dnsPriority () const
QStringList dnsSearch () const
void fromMap (const QVariantMap &setting) override
QString gateway () const
bool ignoreAutoDns () const
bool ignoreAutoRoutes () const
bool mayFail () const
ConfigMethod method () const
QString name () const override
bool neverDefault () const
NMVariantMapList routeData () const
int routeMetric () const
QList< NetworkManager::IpRouteroutes () const
void setAddressData (const NMVariantMapList &addressData)
void setAddresses (const QList< NetworkManager::IpAddress > &ipv4addresses)
void setDadTimeout (qint32 timeout)
void setDhcpClientId (const QString &id)
void setDhcpFqdn (const QString &fqdn)
void setDhcpHostname (const QString &hostname)
void setDhcpSendHostname (bool send)
void setDns (const QList< QHostAddress > &dns)
void setDnsOptions (const QStringList &options)
void setDnsPriority (qint32 priority)
void setDnsSearch (const QStringList &domains)
void setGateway (const QString &gateway)
void setIgnoreAutoDns (bool ignore)
void setIgnoreAutoRoutes (bool ignore)
void setMayFail (bool mayFail)
void setMethod (ConfigMethod method)
void setNeverDefault (bool neverDefault)
void setRouteData (const NMVariantMapList &routeData)
void setRouteMetric (int metric)
void setRoutes (const QList< NetworkManager::IpRoute > &ipv4routes)
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

Ipv4SettingPrivate * 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 ipv4 setting.

Definition at line 52 of file ipv4setting.h.

Member Function Documentation

◆ fromMap()

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

Must be reimplemented, default implementation does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 354 of file ipv4setting.cpp.

◆ name()

QString NetworkManager::Ipv4Setting::name ( ) const

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 67 of file ipv4setting.cpp.

◆ toMap()

QVariantMap NetworkManager::Ipv4Setting::toMap ( ) const

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 517 of file ipv4setting.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.