summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2017-06-06 15:13:26 +0200
committerKai Koehne <kai.koehne@qt.io>2017-06-12 14:52:38 +0000
commitadc725714109d6d3c3473e6aabeadbcf7e334108 (patch)
tree3042b84bd338161eef9d4604a8b4cf1c2778a69e /src/network
parent9205110cfe84204c0f8eb2b90f42e9131d27108e (diff)
Document QHostAddress::swap
Change-Id: I0f47ffeb1a7dbda7dadbd78b2ea04167c42a503d Reviewed-by: Jesus Fernandez <Jesus.Fernandez@qt.io> Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/network')
-rw-r--r--src/network/kernel/qhostaddress.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/network/kernel/qhostaddress.cpp b/src/network/kernel/qhostaddress.cpp
index b8c0584a62..2911b123b0 100644
--- a/src/network/kernel/qhostaddress.cpp
+++ b/src/network/kernel/qhostaddress.cpp
@@ -606,6 +606,14 @@ QHostAddress &QHostAddress::operator=(SpecialAddress address)
}
/*!
+ \fn void QHostAddress::swap(QHostAddress &other)
+ \since 5.6
+
+ Swaps this host address with \a other. This operation is very fast
+ and never fails.
+*/
+
+/*!
\fn bool QHostAddress::operator!=(const QHostAddress &other) const
\since 4.2