From adc725714109d6d3c3473e6aabeadbcf7e334108 Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Tue, 6 Jun 2017 15:13:26 +0200 Subject: [PATCH] Document QHostAddress::swap Change-Id: I0f47ffeb1a7dbda7dadbd78b2ea04167c42a503d Reviewed-by: Jesus Fernandez Reviewed-by: Marc Mutz --- src/network/kernel/qhostaddress.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) 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 @@ -605,6 +605,14 @@ QHostAddress &QHostAddress::operator=(SpecialAddress address) return *this; } +/*! + \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