NetworkManager::Ipv4Setting Class
class NetworkManager::Ipv4SettingRepresents ipv4 setting. More...
Header: | #include <NetworkManagerQt/Ipv4Setting> |
CMake: | find_package(KF6 REQUIRED COMPONENTS NetworkManagerQt) target_link_libraries(mytarget PRIVATE KF6::NetworkManagerQt) |
Inherits: | NetworkManager::Setting |
Public Types
enum | ConfigMethod { Automatic, LinkLocal, Manual, Shared, Disabled } |
List | |
Ptr |
Public Functions
Ipv4Setting() | |
Ipv4Setting(const NetworkManager::Ipv4Setting::Ptr &other) | |
int | addressData() const |
int | addresses() const |
qint32 | dadTimeout() const |
QString | dhcpClientId() const |
QString | dhcpFqdn() const |
QString | dhcpHostname() const |
bool | dhcpSendHostname() const |
QList<QHostAddress> | dns() const |
QStringList | dnsOptions() const |
qint32 | dnsPriority() const |
QStringList | dnsSearch() const |
QString | gateway() const |
bool | ignoreAutoDns() const |
bool | ignoreAutoRoutes() const |
bool | mayFail() const |
NetworkManager::Ipv4Setting::ConfigMethod | method() const |
bool | neverDefault() const |
int | routeData() const |
int | routeMetric() const |
int | routes() const |
void | setAddressData(const int &addressData) |
void | setAddresses(const int &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(NetworkManager::Ipv4Setting::ConfigMethod method) |
void | setNeverDefault(bool neverDefault) |
void | setRouteData(const int &routeData) |
void | setRouteMetric(int metric) |
void | setRoutes(const int &ipv4routes) |
Detailed Description
Member Type Documentation
enum Ipv4Setting::ConfigMethod
Constant | Value |
---|---|
NetworkManager::Ipv4Setting::Automatic | 0 |
NetworkManager::Ipv4Setting::LinkLocal | 1 |
NetworkManager::Ipv4Setting::Manual | 2 |
NetworkManager::Ipv4Setting::Shared | 3 |
NetworkManager::Ipv4Setting::Disabled | 4 |
Ipv4Setting::List
Ipv4Setting::Ptr
Member Function Documentation
Ipv4Setting::Ipv4Setting()
[explicit]
Ipv4Setting::Ipv4Setting(const NetworkManager::Ipv4Setting::Ptr &other)
int Ipv4Setting::addressData() const
See also setAddressData().
int Ipv4Setting::addresses() const
See also setAddresses().
qint32 Ipv4Setting::dadTimeout() const
See also setDadTimeout().
QString Ipv4Setting::dhcpClientId() const
See also setDhcpClientId().
QString Ipv4Setting::dhcpFqdn() const
See also setDhcpFqdn().
QString Ipv4Setting::dhcpHostname() const
See also setDhcpHostname().
bool Ipv4Setting::dhcpSendHostname() const
See also setDhcpSendHostname().
QList<QHostAddress> Ipv4Setting::dns() const
See also setDns().
QStringList Ipv4Setting::dnsOptions() const
See also setDnsOptions().
qint32 Ipv4Setting::dnsPriority() const
See also setDnsPriority().
QStringList Ipv4Setting::dnsSearch() const
See also setDnsSearch().
QString Ipv4Setting::gateway() const
See also setGateway().
bool Ipv4Setting::ignoreAutoDns() const
See also setIgnoreAutoDns().
bool Ipv4Setting::ignoreAutoRoutes() const
See also setIgnoreAutoRoutes().
bool Ipv4Setting::mayFail() const
See also setMayFail().
NetworkManager::Ipv4Setting::ConfigMethod Ipv4Setting::method() const
See also setMethod().
bool Ipv4Setting::neverDefault() const
See also setNeverDefault().
int Ipv4Setting::routeData() const
See also setRouteData().
int Ipv4Setting::routeMetric() const
See also setRouteMetric().
int Ipv4Setting::routes() const
See also setRoutes().
void Ipv4Setting::setAddressData(const int &addressData)
See also addressData().
void Ipv4Setting::setAddresses(const int &ipv4addresses)
See also addresses().
void Ipv4Setting::setDadTimeout(qint32 timeout)
See also dadTimeout().
void Ipv4Setting::setDhcpClientId(const QString &id)
See also dhcpClientId().
void Ipv4Setting::setDhcpFqdn(const QString &fqdn)
See also dhcpFqdn().
void Ipv4Setting::setDhcpHostname(const QString &hostname)
See also dhcpHostname().
void Ipv4Setting::setDhcpSendHostname(bool send)
See also dhcpSendHostname().
void Ipv4Setting::setDns(const QList<QHostAddress> &dns)
See also dns().
void Ipv4Setting::setDnsOptions(const QStringList &options)
See also dnsOptions().
void Ipv4Setting::setDnsPriority(qint32 priority)
See also dnsPriority().
void Ipv4Setting::setDnsSearch(const QStringList &domains)
See also dnsSearch().
void Ipv4Setting::setGateway(const QString &gateway)
See also gateway().
void Ipv4Setting::setIgnoreAutoDns(bool ignore)
See also ignoreAutoDns().
void Ipv4Setting::setIgnoreAutoRoutes(bool ignore)
See also ignoreAutoRoutes().
void Ipv4Setting::setMayFail(bool mayFail)
See also mayFail().
void Ipv4Setting::setMethod(NetworkManager::Ipv4Setting::ConfigMethod method)
See also method().
void Ipv4Setting::setNeverDefault(bool neverDefault)
See also neverDefault().
void Ipv4Setting::setRouteData(const int &routeData)
See also routeData().
void Ipv4Setting::setRouteMetric(int metric)
See also routeMetric().
void Ipv4Setting::setRoutes(const int &ipv4routes)
See also routes().