summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/kernel')
-rw-r--r--src/corelib/kernel/qpointer.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/corelib/kernel/qpointer.cpp b/src/corelib/kernel/qpointer.cpp
index 48710bb70c..b774b36592 100644
--- a/src/corelib/kernel/qpointer.cpp
+++ b/src/corelib/kernel/qpointer.cpp
@@ -123,7 +123,7 @@
/*!
\fn QPointer::QPointer(T* p)
- Constructs a guarded pointer that points to same object that \a p
+ Constructs a guarded pointer that points to the same object that \a p
points to.
*/
@@ -273,3 +273,11 @@
\a p2 are not pointing to the same object, otherwise
returns false.
*/
+/*!
+ \fn QPointer<T> qPointerFromVariant(const QVariant &variant)
+
+ \internal
+
+ Returns a guarded pointer that points to the same object that
+ \a variant holds.
+*/