From b97070f2c489877b650283842fbbdea708102a40 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Thu, 5 Apr 2012 14:49:02 +0200 Subject: 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 --- src/corelib/io/qdebug.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/corelib/io/qdebug.cpp') diff --git a/src/corelib/io/qdebug.cpp b/src/corelib/io/qdebug.cpp index 8c17a61b7e..5769323d57 100644 --- a/src/corelib/io/qdebug.cpp +++ b/src/corelib/io/qdebug.cpp @@ -124,6 +124,14 @@ Flushes any pending data to be written and destroys the debug stream. */ +/*! + \fn QDebug::swap(QDebug &other) + \since 5.0 + + Swaps this debug stream instance with \a other. This function is + very fast and never fails. +*/ + /*! \fn QDebug &QDebug::space() -- cgit v1.2.3