Doc: Enable documentation for QScopedPointer's rvalue ref functions

Make the documented QScopedPointer functions that take rvalue
references visible in the documentation.

Task-number: QTBUG-32675
Change-Id: If65af91d9379a6c0486e43c33434cca8505fc5c3
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
This commit is contained in:
Topi Reinio 2013-08-29 09:28:44 +02:00 committed by The Qt Project
parent 0023774411
commit 5f8416ec65

View File

@ -133,7 +133,6 @@ QT_BEGIN_NAMESPACE
Constructs this QScopedPointer instance and sets its pointer to \a p.
*/
#ifndef Q_QDOC // QTBUG-32675, qdoc can't parse rvalue refs
/*!
\fn QScopedPointer::QScopedPointer(QScopedPointer<T, Cleanup> &&other)
@ -154,11 +153,10 @@ QT_BEGIN_NAMESPACE
Otherwise, this instance is set to point to the object \a other
is pointing to, and \a other is set to point to \c{NULL}.
If this instance was pointing to an object, that object is destroyed,
If this instance was pointing to an object, that object is destroyed.
\since 5.2
*/
#endif
/*!
\fn QScopedPointer::~QScopedPointer()