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>
This commit is contained in:
Michele Caini 2012-10-11 23:19:50 +02:00 committed by The Qt Project
parent 8f79ab3549
commit b3e2c69cc2
2 changed files with 11 additions and 2 deletions

View File

@ -53,7 +53,8 @@ int main(int argc, char *argv[])
//! [1]
if (label)
//! [1] //! [2]
//! [1]
//! [2]
label->show();
//! [2]
return 0;

View File

@ -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.
*/