summaryrefslogtreecommitdiffstats
path: root/src/network/access/qhttpmultipart.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/access/qhttpmultipart.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/access/qhttpmultipart.cpp')
-rw-r--r--src/network/access/qhttpmultipart.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/network/access/qhttpmultipart.cpp b/src/network/access/qhttpmultipart.cpp
index ca7e2f6be8..281629a808 100644
--- a/src/network/access/qhttpmultipart.cpp
+++ b/src/network/access/qhttpmultipart.cpp
@@ -125,6 +125,14 @@ QHttpPart &QHttpPart::operator=(const QHttpPart &other)
}
/*!
+ \fn void QHttpPart::swap(QHttpPart &other)
+ \since 5.0
+
+ Swaps this HTTP part with \a other. This function is very fast and
+ never fails.
+*/
+
+/*!
Returns true if this object is the same as \a other (i.e., if they
have the same headers and body).