diff options
author | Jerome Pasion <jerome.pasion@digia.com> | 2013-10-02 16:51:05 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-08 00:46:27 +0200 |
commit | 4533cc994484a2308297e64e99af005fb4dca065 (patch) | |
tree | bc66283d11cdad100a1aec03f4e1d86bedc9a79e /src/corelib/global/qnumeric.cpp | |
parent | 50dd0232b61d8ea3fb9aab18972c6e19678656e6 (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/global/qnumeric.cpp')
-rw-r--r-- | src/corelib/global/qnumeric.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/corelib/global/qnumeric.cpp b/src/corelib/global/qnumeric.cpp index 5e71753c8a..d09357c26c 100644 --- a/src/corelib/global/qnumeric.cpp +++ b/src/corelib/global/qnumeric.cpp @@ -45,37 +45,37 @@ QT_BEGIN_NAMESPACE /*! - Returns true if the double \a {d} is equivalent to infinity. + Returns \c true if the double \a {d} is equivalent to infinity. \relates <QtGlobal> */ Q_CORE_EXPORT bool qIsInf(double d) { return qt_is_inf(d); } /*! - Returns true if the double \a {d} is not a number (NaN). + Returns \c true if the double \a {d} is not a number (NaN). \relates <QtGlobal> */ Q_CORE_EXPORT bool qIsNaN(double d) { return qt_is_nan(d); } /*! - Returns true if the double \a {d} is a finite number. + Returns \c true if the double \a {d} is a finite number. \relates <QtGlobal> */ Q_CORE_EXPORT bool qIsFinite(double d) { return qt_is_finite(d); } /*! - Returns true if the float \a {f} is equivalent to infinity. + Returns \c true if the float \a {f} is equivalent to infinity. \relates <QtGlobal> */ Q_CORE_EXPORT bool qIsInf(float f) { return qt_is_inf(f); } /*! - Returns true if the float \a {f} is not a number (NaN). + Returns \c true if the float \a {f} is not a number (NaN). \relates <QtGlobal> */ Q_CORE_EXPORT bool qIsNaN(float f) { return qt_is_nan(f); } /*! - Returns true if the float \a {f} is a finite number. + Returns \c true if the float \a {f} is a finite number. \relates <QtGlobal> */ Q_CORE_EXPORT bool qIsFinite(float f) { return qt_is_finite(f); } |