From 759bb6c04fe61fc9ddea8180bbe83156887edcb8 Mon Sep 17 00:00:00 2001 From: Markus Goetz Date: Fri, 25 Sep 2009 12:11:57 +0200 Subject: QHostAddress: Clarification about DNS Task-number: QT-1683 (cherry picked from commit e4b6d83ae9c060805d630f94f97447655b2e78ed) --- src/network/kernel/qhostaddress.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/network/kernel/qhostaddress.cpp b/src/network/kernel/qhostaddress.cpp index e051ba3..54bf302 100644 --- a/src/network/kernel/qhostaddress.cpp +++ b/src/network/kernel/qhostaddress.cpp @@ -432,6 +432,9 @@ void QNetmaskAddress::setPrefixLength(QAbstractSocket::NetworkLayerProtocol prot using isIPv4Address() or isIPv6Address(), and retrieved with toIPv4Address(), toIPv6Address(), or toString(). + \note Please note that QHostAddress does not do DNS lookups. + QHostInfo is needed for that. + The class also supports common predefined addresses: \l Null, \l LocalHost, \l LocalHostIPv6, \l Broadcast, and \l Any. -- cgit v0.12