summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qdir.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-03 01:08:58 +0200
commitb97070f2c489877b650283842fbbdea708102a40 (patch)
treee681cf7fe36fbb3419c5d8e974a77422825a2118 /src/corelib/io/qdir.cpp
parent02aee5d174b0a1d0f925dc5c3243f77d0dc0c8c4 (diff)
QtCore: add member-swap to shared classes
Implemented as in other shared classes (e.g. QPen). Special case: QUrlQuery: document existing swap(). Change-Id: I4b36cc9577fbf2232d4b2a2d8822d26e41e22cad Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/io/qdir.cpp')
-rw-r--r--src/corelib/io/qdir.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/corelib/io/qdir.cpp b/src/corelib/io/qdir.cpp
index 9a66ca2d40..b92f03a3c8 100644
--- a/src/corelib/io/qdir.cpp
+++ b/src/corelib/io/qdir.cpp
@@ -1711,6 +1711,14 @@ QDir &QDir::operator=(const QString &path)
}
/*!
+ \fn void QDir::swap(QDir &other)
+ \since 5.0
+
+ Swaps this QDir instance with \a other. This function is very fast
+ and never fails.
+*/
+
+/*!
\fn bool QDir::operator!=(const QDir &dir) const
Returns true if directory \a dir and this directory have different