Fix QPointer qdoc errors
authorLars Knoll <lars.knoll@nokia.com>
Tue, 14 Aug 2012 15:03:51 +0000 (17:03 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 15 Aug 2012 09:38:37 +0000 (11:38 +0200)
Change-Id: I54082a87f076aa511329cfb7a6ed6ecabcfb40f7
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
src/corelib/kernel/qpointer.cpp
src/corelib/kernel/qpointer.h

index ec719e9..2a5db0e 100644 (file)
 */
 
 /*!
-    \fn QPointer::QPointer(const QPointer<T> &p)
-
-    Copies one guarded pointer from another. The constructed guarded
-    pointer points to the same object that \a p points to (which may
-    be 0).
-*/
-
-/*!
     \fn QPointer::~QPointer()
 
     Destroys the guarded pointer. Just like a normal pointer,
 */
 
 /*!
-    \fn QPointer<T>& QPointer::operator=(const QPointer<T> &p)
-
-    Assignment operator. This guarded pointer will now point to the
-    same object that \a p points to.
-*/
-
-/*!
     \fn QPointer<T> & QPointer::operator=(T* p)
 
     Assignment operator. This guarded pointer will now point to the
index ef1d4dc..7a623fa 100644 (file)
@@ -97,7 +97,7 @@ public:
     { return data(); }
 #ifdef qdoc
     inline bool isNull() const;
-    inline void clear() const;
+    inline void clear();
 #else
     using QPointerBase::isNull;
     using QPointerBase::clear;