NetworkManager::IpAddress
#include <ipaddress.h>
Additional Inherited Members | |
Public Types inherited from QNetworkAddressEntry | |
enum | DnsEligibilityStatus |
Public Attributes inherited from QNetworkAddressEntry | |
DnsEligibilityUnknown | |
DnsEligible | |
DnsIneligible | |
Detailed Description
This class represents IP address.
Definition at line 20 of file ipaddress.h.
Constructor & Destructor Documentation
◆ IpAddress() [1/2]
NetworkManager::IpAddress::IpAddress | ( | ) |
Constructs an empty IpAddress object.
Definition at line 20 of file ipaddress.cpp.
◆ IpAddress() [2/2]
NetworkManager::IpAddress::IpAddress | ( | const IpAddress & | other | ) |
Constructs an IpAddress object that is a copy of the object other.
Definition at line 30 of file ipaddress.cpp.
◆ ~IpAddress()
NetworkManager::IpAddress::~IpAddress | ( | ) |
Destroys this IpAddress object.
Definition at line 25 of file ipaddress.cpp.
Member Function Documentation
◆ gateway()
QHostAddress NetworkManager::IpAddress::gateway | ( | ) | const |
Returns the default gateway of this object.
Definition at line 47 of file ipaddress.cpp.
◆ isValid()
bool NetworkManager::IpAddress::isValid | ( | ) | const |
Return if the IP address is defined.
Definition at line 37 of file ipaddress.cpp.
◆ operator=()
NetworkManager::IpAddress & NetworkManager::IpAddress::operator= | ( | const IpAddress & | other | ) |
Makes a copy of the IpAddress object other
.
Definition at line 52 of file ipaddress.cpp.
◆ setGateway()
void NetworkManager::IpAddress::setGateway | ( | const QHostAddress & | gateway | ) |
Defines the default gateway
of this object.
Definition at line 42 of file ipaddress.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:21 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.