diff options
author | Shane Kearns <shane.kearns@accenture.com> | 2011-10-24 11:01:09 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-24 13:56:41 +0200 |
commit | 3736dcb65e92ea3d6f1af827a52b09ebd1250f7e (patch) | |
tree | 6dfe2acfabd55ac35135dfd19c4ada764001e475 /dist | |
parent | 29c30a20bab4c4ea892b95c08c71bb5f136bb82c (diff) |
Network - Add QHostAddress::isLoopback API.
The standard IPv4 loopback address is 127.0.0.1, however anything in
the 127.0.0.0/8 range is also a loopback address.
isLoopback returns true for any address that is in the IPv4 loopback
address range, or is the single IPv6 loopback address ::1
Task-number: QTBUG-22246
Change-Id: Ic39100e2e97a52db700e01b109998a1cfd4335e3
Reviewed-by: Thiago Macieira (Intel) <thiago.macieira@intel.com>
Diffstat (limited to 'dist')
-rw-r--r-- | dist/changes-5.0.0 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0 index 92b4664708..b17353e88b 100644 --- a/dist/changes-5.0.0 +++ b/dist/changes-5.0.0 @@ -70,6 +70,8 @@ QtWidgets QtNetwork --------- +* QHostAddress::isLoopback() API added. Returns true if the address is + one of the IP loopback addresses. QtOpenGL -------- |