summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/corelib/kernel/qpointer.cpp15
-rw-r--r--src/corelib/kernel/qpointer.h2
2 files changed, 1 insertions, 16 deletions
diff --git a/src/corelib/kernel/qpointer.cpp b/src/corelib/kernel/qpointer.cpp
index ec719e9cdc..2a5db0ee26 100644
--- a/src/corelib/kernel/qpointer.cpp
+++ b/src/corelib/kernel/qpointer.cpp
@@ -127,14 +127,6 @@
*/
/*!
- \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,
@@ -143,13 +135,6 @@
*/
/*!
- \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
diff --git a/src/corelib/kernel/qpointer.h b/src/corelib/kernel/qpointer.h
index ef1d4dc1d5..7a623faef0 100644
--- a/src/corelib/kernel/qpointer.h
+++ b/src/corelib/kernel/qpointer.h
@@ -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;