summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2009-09-25 10:11:57 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-09-28 03:03:32 (GMT)
commit759bb6c04fe61fc9ddea8180bbe83156887edcb8 (patch)
tree64b58480c51601caf58bea159b6f0b52b10b9250
parentf6572b2aa9ae646e8283c98beec579b57d18f265 (diff)
downloadQt-759bb6c04fe61fc9ddea8180bbe83156887edcb8.zip
Qt-759bb6c04fe61fc9ddea8180bbe83156887edcb8.tar.gz
Qt-759bb6c04fe61fc9ddea8180bbe83156887edcb8.tar.bz2
QHostAddress: Clarification about DNS
Task-number: QT-1683 (cherry picked from commit e4b6d83ae9c060805d630f94f97447655b2e78ed)
-rw-r--r--src/network/kernel/qhostaddress.cpp3
1 files changed, 3 insertions, 0 deletions
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.