summaryrefslogtreecommitdiffstats
path: root/src/network/kernel/qnetworkinterface.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2012-04-05 14:49:02 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-06 16:08:02 +0200
commitb0aa023aa2e08fb24eb1220c92bec02df3df8c90 (patch)
tree1660f4eb0b552ff32bb86f47f6ac7f9cca7878ac /src/network/kernel/qnetworkinterface.cpp
parent7d63fa6edcbe706bf0eab2c7e24efa1ed8940e6d (diff)
QtNetwork: add member-swap to shared classes
Implemented as in other shared classes (e.g. QPen). Change-Id: Ib3d87ff99603e617cc8810489f9f5e9fe054cd2a Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
Diffstat (limited to 'src/network/kernel/qnetworkinterface.cpp')
-rw-r--r--src/network/kernel/qnetworkinterface.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/network/kernel/qnetworkinterface.cpp b/src/network/kernel/qnetworkinterface.cpp
index 947b2ab0d9..422585113a 100644
--- a/src/network/kernel/qnetworkinterface.cpp
+++ b/src/network/kernel/qnetworkinterface.cpp
@@ -185,6 +185,14 @@ QNetworkAddressEntry &QNetworkAddressEntry::operator=(const QNetworkAddressEntry
}
/*!
+ \fn void QNetworkAddressEntry::swap(QNetworkAddressEntry &other)
+ \since 5.0
+
+ Swaps this network address entry instance with \a other. This
+ function is very fast and never fails.
+*/
+
+/*!
Destroys this QNetworkAddressEntry object.
*/
QNetworkAddressEntry::~QNetworkAddressEntry()
@@ -417,6 +425,14 @@ QNetworkInterface &QNetworkInterface::operator=(const QNetworkInterface &other)
}
/*!
+ \fn void QNetworkInterface::swap(QNetworkInterface &other)
+ \since 5.0
+
+ Swaps this network interface instance with \a other. This function
+ is very fast and never fails.
+*/
+
+/*!
Returns true if this QNetworkInterface object contains valid
information about a network interface.
*/