summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qpointer.cpp
diff options
context:
space:
mode:
authorJerome Pasion <jerome.pasion@digia.com>2013-10-02 16:51:05 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-08 00:46:27 +0200
commit4533cc994484a2308297e64e99af005fb4dca065 (patch)
treebc66283d11cdad100a1aec03f4e1d86bedc9a79e /src/corelib/kernel/qpointer.cpp
parent50dd0232b61d8ea3fb9aab18972c6e19678656e6 (diff)
Doc: Adding mark-up to boolean default values.
Default values should have mark-up to denote that they are code. This commit changes: -"property is true" to "property is \c true". -"Returns true" to "Returns \c true". -"property is false" to "property is \c false". -"returns true" to "returns \c true". -"returns false" to "returns \c false". src/3rdparty and non-documentation instances were ignored. Task-number: QTBUG-33360 Change-Id: Ie87eaa57af947caa1230602b61c5c46292a4cf4e Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src/corelib/kernel/qpointer.cpp')
-rw-r--r--src/corelib/kernel/qpointer.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/corelib/kernel/qpointer.cpp b/src/corelib/kernel/qpointer.cpp
index 4fd6cd1779..692329f942 100644
--- a/src/corelib/kernel/qpointer.cpp
+++ b/src/corelib/kernel/qpointer.cpp
@@ -153,7 +153,7 @@
\fn bool QPointer::isNull() const
Returns \c true if the referenced object has been destroyed or if
- there is no referenced object; otherwise returns false.
+ there is no referenced object; otherwise returns \c false.
*/
/*!
@@ -191,45 +191,45 @@
\fn bool operator==(const T *o, const QPointer<T> &p)
\relates QPointer
- Equality operator. Returns true if \a o and the guarded
+ Equality operator. Returns \c true if \a o and the guarded
pointer \a p are pointing to the same object, otherwise
- returns false.
+ returns \c false.
*/
/*!
\fn bool operator==(const QPointer<T> &p, const T *o)
\relates QPointer
- Equality operator. Returns true if \a o and the guarded
+ Equality operator. Returns \c true if \a o and the guarded
pointer \a p are pointing to the same object, otherwise
- returns false.
+ returns \c false.
*/
/*!
\fn bool operator==(T *o, const QPointer<T> &p)
\relates QPointer
- Equality operator. Returns true if \a o and the guarded
+ Equality operator. Returns \c true if \a o and the guarded
pointer \a p are pointing to the same object, otherwise
- returns false.
+ returns \c false.
*/
/*!
\fn bool operator==(const QPointer<T> &p, T *o)
\relates QPointer
- Equality operator. Returns true if \a o and the guarded
+ Equality operator. Returns \c true if \a o and the guarded
pointer \a p are pointing to the same object, otherwise
- returns false.
+ returns \c false.
*/
/*!
\fn bool operator==(const QPointer<T> &p1, const QPointer<T> &p2)
\relates QPointer
- Equality operator. Returns true if the guarded pointers \a p1 and \a p2
+ Equality operator. Returns \c true if the guarded pointers \a p1 and \a p2
are pointing to the same object, otherwise
- returns false.
+ returns \c false.
*/
@@ -238,41 +238,41 @@
\fn bool operator!=(const T *o, const QPointer<T> &p)
\relates QPointer
- Inequality operator. Returns true if \a o and the guarded
+ Inequality operator. Returns \c true if \a o and the guarded
pointer \a p are not pointing to the same object, otherwise
- returns false.
+ returns \c false.
*/
/*!
\fn bool operator!=(const QPointer<T> &p, const T *o)
\relates QPointer
- Inequality operator. Returns true if \a o and the guarded
+ Inequality operator. Returns \c true if \a o and the guarded
pointer \a p are not pointing to the same object, otherwise
- returns false.
+ returns \c false.
*/
/*!
\fn bool operator!=(T *o, const QPointer<T> &p)
\relates QPointer
- Inequality operator. Returns true if \a o and the guarded
+ Inequality operator. Returns \c true if \a o and the guarded
pointer \a p are not pointing to the same object, otherwise
- returns false.
+ returns \c false.
*/
/*!
\fn bool operator!=(const QPointer<T> &p, T *o)
\relates QPointer
- Inequality operator. Returns true if \a o and the guarded
+ Inequality operator. Returns \c true if \a o and the guarded
pointer \a p are not pointing to the same object, otherwise
- returns false.
+ returns \c false.
*/
/*!
\fn bool operator!=(const QPointer<T> &p1, const QPointer<T> &p2)
\relates QPointer
- Inequality operator. Returns true if the guarded pointers \a p1 and
+ Inequality operator. Returns \c true if the guarded pointers \a p1 and
\a p2 are not pointing to the same object, otherwise
- returns false.
+ returns \c false.
*/
/*!
\fn QPointer<T> qPointerFromVariant(const QVariant &variant)