#include <qhostaddress.h>
Definition at line 70 of file qhostaddress.h.
Public Types | |
enum | SpecialAddress { Null, Broadcast, LocalHost, LocalHostIPv6, Any, AnyIPv6 } |
Static Public Member Functions | |
static QPair< QHostAddress, int > | parseSubnet (const QString &subnet) |
Protected Attributes | |
QScopedPointer< QHostAddressPrivate > | d |
enum SpecialAddress |
Enumerator | |
---|---|
Null | |
Broadcast | |
LocalHost | |
LocalHostIPv6 | |
Any | |
AnyIPv6 |
Definition at line 73 of file qhostaddress.h.
QHostAddress | ( | ) |
|
explicit |
|
explicit |
|
explicit |
|
explicit |
|
explicit |
QHostAddress | ( | const QHostAddress & | copy | ) |
QHostAddress | ( | SpecialAddress | address | ) |
~QHostAddress | ( | ) |
QHostAddress& operator= | ( | const QHostAddress & | other | ) |
QHostAddress& operator= | ( | const QString & | address | ) |
void setAddress | ( | const Q_IPV6ADDR & | ip6Addr | ) |
void setAddress | ( | const sockaddr * | sockaddr | ) |
bool setAddress | ( | const QString & | address | ) |
QAbstractSocket::NetworkLayerProtocol protocol | ( | ) | const |
quint32 toIPv4Address | ( | ) | const |
Q_IPV6ADDR toIPv6Address | ( | ) | const |
QString toString | ( | ) | const |
QString scopeId | ( | ) | const |
bool operator== | ( | const QHostAddress & | address | ) | const |
bool operator== | ( | SpecialAddress | address | ) | const |
|
inline |
Definition at line 112 of file qhostaddress.h.
|
inline |
Definition at line 114 of file qhostaddress.h.
bool isNull | ( | ) | const |
void clear | ( | ) |
bool isInSubnet | ( | const QHostAddress & | subnet, |
int | netmask | ||
) | const |
bool isInSubnet | ( | const QPair< QHostAddress, int > & | subnet | ) | const |
|
static |
|
protected |
Definition at line 134 of file qhostaddress.h.