summaryrefslogtreecommitdiffstats
path: root/src/network/kernel/qnetworkproxy.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/qnetworkproxy.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/qnetworkproxy.cpp')
-rw-r--r--src/network/kernel/qnetworkproxy.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/network/kernel/qnetworkproxy.cpp b/src/network/kernel/qnetworkproxy.cpp
index 7a10ecf7ed..21d5748562 100644
--- a/src/network/kernel/qnetworkproxy.cpp
+++ b/src/network/kernel/qnetworkproxy.cpp
@@ -511,6 +511,14 @@ QNetworkProxy &QNetworkProxy::operator=(const QNetworkProxy &other)
}
/*!
+ \fn void QNetworkProxy::swap(QNetworkProxy &other)
+ \since 5.0
+
+ Swaps this network proxy instance with \a other. This function is
+ very fast and never fails.
+*/
+
+/*!
Sets the proxy type for this instance to be \a type.
Note that changing the type of a proxy does not change
@@ -1132,6 +1140,14 @@ QNetworkProxyQuery &QNetworkProxyQuery::operator=(const QNetworkProxyQuery &othe
}
/*!
+ \fn void QNetworkProxyQuery::swap(QNetworkProxyQuery &other)
+ \since 5.0
+
+ Swaps this network proxy query instance with \a other. This
+ function is very fast and never fails.
+*/
+
+/*!
Returns true if this QNetworkProxyQuery object contains the same
data as \a other.
*/