NetworkManager::Ipv6Setting Class

class NetworkManager::Ipv6Setting

Represents ipv6 setting. More...

Header: #include <NetworkManagerQt/Ipv6Setting>
CMake: find_package(KF6 REQUIRED COMPONENTS NetworkManagerQt)
target_link_libraries(mytarget PRIVATE KF6::NetworkManagerQt)
Inherits: NetworkManager::Setting

Public Types

enum ConfigMethod { Automatic, Dhcp, LinkLocal, Manual, Ignored, ConfigDisabled }
enum IPv6AddressGenMode { Eui64, StablePrivacy }
enum IPv6Privacy { Unknown, Disabled, PreferPublic, PreferTemporary }
List
Ptr

Public Functions

Ipv6Setting()
Ipv6Setting(const NetworkManager::Ipv6Setting::Ptr &other)
int addressData() const
NetworkManager::Ipv6Setting::IPv6AddressGenMode addressGenMode() const
int addresses() const
qint32 dadTimeout() const
QString dhcpDuid() const
QString dhcpHostname() const
qint32 dhcpTimeout() const
QList<QHostAddress> dns() const
QStringList dnsOptions() const
QStringList dnsSearch() const
bool ignoreAutoDns() const
bool ignoreAutoRoutes() const
bool mayFail() const
NetworkManager::Ipv6Setting::ConfigMethod method() const
bool neverDefault() const
NetworkManager::Ipv6Setting::IPv6Privacy privacy() const
int routeData() const
int routeMetric() const
quint32 routeTable() const
int routes() const
void setAddressData(const int &addressData)
void setAddressGenMode(NetworkManager::Ipv6Setting::IPv6AddressGenMode mode)
void setAddresses(const int ipv6addresses)
void setDadTimeout(qint32 timeout)
void setDhcpDuid(const QString &duid)
void setDhcpHostname(const QString &hostname)
void setDhcpTimeout(qint32 timeout)
void setDns(const QList<QHostAddress> &dns)
void setDnsOptions(const QStringList &options)
void setDnsSearch(const QStringList &domains)
void setIgnoreAutoDns(bool ignore)
void setIgnoreAutoRoutes(bool ignore)
void setMayFail(bool mayFail)
void setMethod(NetworkManager::Ipv6Setting::ConfigMethod method)
void setNeverDefault(bool neverDefault)
void setPrivacy(NetworkManager::Ipv6Setting::IPv6Privacy privacy)
void setRouteData(const int &routeData)
void setRouteMetric(int metric)
void setRouteTable(quint32 routeTable)
void setRoutes(const int ipv6routes)
void setToken(const QString &token)
QString token() const

Detailed Description

Member Type Documentation

enum Ipv6Setting::ConfigMethod

ConstantValueDescription
NetworkManager::Ipv6Setting::Automatic0 
NetworkManager::Ipv6Setting::Dhcp1 
NetworkManager::Ipv6Setting::LinkLocal2 
NetworkManager::Ipv6Setting::Manual3 
NetworkManager::Ipv6Setting::Ignored4 
NetworkManager::Ipv6Setting::ConfigDisabled5FIXME KF6: fix enum naming (possibly move to enum class)

enum Ipv6Setting::IPv6AddressGenMode

ConstantValue
NetworkManager::Ipv6Setting::Eui640
NetworkManager::Ipv6Setting::StablePrivacy1

enum Ipv6Setting::IPv6Privacy

ConstantValue
NetworkManager::Ipv6Setting::Unknown-1
NetworkManager::Ipv6Setting::Disabled0
NetworkManager::Ipv6Setting::PreferPublic1
NetworkManager::Ipv6Setting::PreferTemporary2

Ipv6Setting::List

Ipv6Setting::Ptr

Member Function Documentation

Ipv6Setting::Ipv6Setting()

[explicit] Ipv6Setting::Ipv6Setting(const NetworkManager::Ipv6Setting::Ptr &other)

int Ipv6Setting::addressData() const

See also setAddressData().

NetworkManager::Ipv6Setting::IPv6AddressGenMode Ipv6Setting::addressGenMode() const

See also setAddressGenMode().

int Ipv6Setting::addresses() const

See also setAddresses().

qint32 Ipv6Setting::dadTimeout() const

See also setDadTimeout().

QString Ipv6Setting::dhcpDuid() const

See also setDhcpDuid().

QString Ipv6Setting::dhcpHostname() const

See also setDhcpHostname().

qint32 Ipv6Setting::dhcpTimeout() const

See also setDhcpTimeout().

QList<QHostAddress> Ipv6Setting::dns() const

See also setDns().

QStringList Ipv6Setting::dnsOptions() const

See also setDnsOptions().

QStringList Ipv6Setting::dnsSearch() const

See also setDnsSearch().

bool Ipv6Setting::ignoreAutoDns() const

See also setIgnoreAutoDns().

bool Ipv6Setting::ignoreAutoRoutes() const

See also setIgnoreAutoRoutes().

bool Ipv6Setting::mayFail() const

See also setMayFail().

NetworkManager::Ipv6Setting::ConfigMethod Ipv6Setting::method() const

See also setMethod().

bool Ipv6Setting::neverDefault() const

See also setNeverDefault().

NetworkManager::Ipv6Setting::IPv6Privacy Ipv6Setting::privacy() const

See also setPrivacy().

int Ipv6Setting::routeData() const

See also setRouteData().

int Ipv6Setting::routeMetric() const

See also setRouteMetric().

quint32 Ipv6Setting::routeTable() const

See also setRouteTable().

int Ipv6Setting::routes() const

See also setRoutes().

void Ipv6Setting::setAddressData(const int &addressData)

See also addressData().

void Ipv6Setting::setAddressGenMode(NetworkManager::Ipv6Setting::IPv6AddressGenMode mode)

See also addressGenMode().

void Ipv6Setting::setAddresses(const int ipv6addresses)

See also addresses().

void Ipv6Setting::setDadTimeout(qint32 timeout)

See also dadTimeout().

void Ipv6Setting::setDhcpDuid(const QString &duid)

See also dhcpDuid().

void Ipv6Setting::setDhcpHostname(const QString &hostname)

See also dhcpHostname().

void Ipv6Setting::setDhcpTimeout(qint32 timeout)

See also dhcpTimeout().

void Ipv6Setting::setDns(const QList<QHostAddress> &dns)

See also dns().

void Ipv6Setting::setDnsOptions(const QStringList &options)

See also dnsOptions().

void Ipv6Setting::setDnsSearch(const QStringList &domains)

See also dnsSearch().

void Ipv6Setting::setIgnoreAutoDns(bool ignore)

See also ignoreAutoDns().

void Ipv6Setting::setIgnoreAutoRoutes(bool ignore)

See also ignoreAutoRoutes().

void Ipv6Setting::setMayFail(bool mayFail)

See also mayFail().

void Ipv6Setting::setMethod(NetworkManager::Ipv6Setting::ConfigMethod method)

See also method().

void Ipv6Setting::setNeverDefault(bool neverDefault)

See also neverDefault().

void Ipv6Setting::setPrivacy(NetworkManager::Ipv6Setting::IPv6Privacy privacy)

See also privacy().

void Ipv6Setting::setRouteData(const int &routeData)

See also routeData().

void Ipv6Setting::setRouteMetric(int metric)

See also routeMetric().

void Ipv6Setting::setRouteTable(quint32 routeTable)

See also routeTable().

void Ipv6Setting::setRoutes(const int ipv6routes)

See also routes().

void Ipv6Setting::setToken(const QString &token)

See also token().

QString Ipv6Setting::token() const

See also setToken().