NetworkManager::IpRoute
#include <iproute.h>
Additional Inherited Members | |
Public Types inherited from QNetworkAddressEntry | |
enum | DnsEligibilityStatus |
Public Attributes inherited from QNetworkAddressEntry | |
DnsEligibilityUnknown | |
DnsEligible | |
DnsIneligible | |
Detailed Description
Constructor & Destructor Documentation
◆ IpRoute() [1/2]
NetworkManager::IpRoute::IpRoute | ( | ) |
Constructs an empty IpRoute object.
Definition at line 25 of file iproute.cpp.
◆ IpRoute() [2/2]
NetworkManager::IpRoute::IpRoute | ( | const IpRoute & | other | ) |
Constructs an IpRoute object that is a copy of the object other
.
Definition at line 35 of file iproute.cpp.
◆ ~IpRoute()
NetworkManager::IpRoute::~IpRoute | ( | ) |
Destroys this IpRoute object.
Definition at line 30 of file iproute.cpp.
Member Function Documentation
◆ isValid()
bool NetworkManager::IpRoute::isValid | ( | ) | const |
Returns true if the route IP is defined.
Definition at line 74 of file iproute.cpp.
◆ metric()
quint32 NetworkManager::IpRoute::metric | ( | ) | const |
Returns the route metric number of the given route.
Definition at line 57 of file iproute.cpp.
◆ nextHop()
QHostAddress NetworkManager::IpRoute::nextHop | ( | ) | const |
Returns the next hop of the given route.
Definition at line 47 of file iproute.cpp.
◆ operator=()
NetworkManager::IpRoute & NetworkManager::IpRoute::operator= | ( | const IpRoute & | other | ) |
Makes a copy of the IpRoute object other
.
Definition at line 62 of file iproute.cpp.
◆ setMetric()
void NetworkManager::IpRoute::setMetric | ( | quint32 | metric | ) |
Defines the metric
of the given route, lower values have higher priority.
Definition at line 52 of file iproute.cpp.
◆ setNextHop()
void NetworkManager::IpRoute::setNextHop | ( | const QHostAddress & | nextHop | ) | const |
Defines the next hop of the given route.
Definition at line 42 of file iproute.cpp.
The documentation for this class was generated from the following files:
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.