NetworkManagerQt
ipconfig.cpp
23 Private(const QList<IpAddress> &theAddresses, const QList<QHostAddress> &theNameservers, const QStringList &theDomains, const QList<IpRoute> &theRoutes)
44NetworkManager::IpConfig::IpConfig(const IpAddresses &addresses, const QList<QHostAddress> &nameservers, const QStringList &domains, const IpRoutes &routes)
90 if (routeList.contains(QLatin1String("address")) && routeList.contains(QLatin1String("prefix"))) {
178 if (routeList.contains(QLatin1String("address")) && routeList.contains(QLatin1String("prefix"))) {
void setGateway(const QHostAddress &gateway)
Defines the default gateway of this object.
Definition ipaddress.cpp:42
IpRoutes routes() const
Returns a list of static routes (not the default gateway) related to this configuration.
Definition ipconfig.cpp:275
QList< QHostAddress > nameservers() const
Returns a list of nameservers related to this configuration.
Definition ipconfig.cpp:265
void setIPv4Path(const QString &path)
Configure this class using the information on the following path.
Definition ipconfig.cpp:60
QStringList dnsOptions() const
Returns a list of DNS options that modify the behaviour of the DNS resolver.
Definition ipconfig.cpp:285
NetworkManager::IpAddresses addresses() const
Returns a list of IP addresses and gateway related to this configuration.
Definition ipconfig.cpp:255
IpConfig & operator=(const IpConfig &other)
Makes a copy of the IpConfig object other.
Definition ipconfig.cpp:290
void setIPv6Path(const QString &path)
Configure this class using the information on the following path.
Definition ipconfig.cpp:147
QStringList domains() const
Returns a list of domains related to this configuration.
Definition ipconfig.cpp:270
void setMetric(quint32 metric)
Defines the metric of the given route, lower values have higher priority.
Definition iproute.cpp:52
void setNextHop(const QHostAddress &nextHop) const
Defines the next hop of the given route.
Definition iproute.cpp:42
This class allows querying the underlying system to discover the available network interfaces and rea...
Definition accesspoint.h:21
NETWORKMANAGERQT_EXPORT bool checkVersion(const int x, const int y, const int z)
Checks if NetworkManager version is at least x.y.z.
Definition manager.cpp:239
QDBusConnection sessionBus()
QDBusConnection systemBus()
void setIp(const QHostAddress &newIp)
void setPrefixLength(int length)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.