summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel
diff options
context:
space:
mode:
authorMichele Caini <michele.caini@gmail.com>2012-10-11 23:19:50 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-16 10:48:22 +0200
commitb3e2c69cc2de4fdf3fd19fbe11517459aa61aa17 (patch)
tree07a6536e2675d064bb7501ef0c62195722f1ae4e /src/corelib/kernel
parent8f79ab354956119810490a18a1471141025a6db2 (diff)
Review of documentation.
Documentation has been updated, changes apply to Qt5 as well as Qt4. Change-Id: I692869971bafffabbb9c323dc031f6d984c1adb9 Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
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.
+*/