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/gui/kernel/qkeysequence.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/gui/kernel/qkeysequence.cpp')
-rw-r--r-- | src/gui/kernel/qkeysequence.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/gui/kernel/qkeysequence.cpp b/src/gui/kernel/qkeysequence.cpp index 1fcf1026d2..ead248074e 100644 --- a/src/gui/kernel/qkeysequence.cpp +++ b/src/gui/kernel/qkeysequence.cpp @@ -879,7 +879,7 @@ int QKeySequence::count() const /*! - Returns true if the key sequence is empty; otherwise returns + Returns \c true if the key sequence is empty; otherwise returns false. */ bool QKeySequence::isEmpty() const @@ -1372,14 +1372,14 @@ QKeySequence &QKeySequence::operator=(const QKeySequence &other) /*! \fn bool QKeySequence::operator!=(const QKeySequence &other) const - Returns true if this key sequence is not equal to the \a other - key sequence; otherwise returns false. + Returns \c true if this key sequence is not equal to the \a other + key sequence; otherwise returns \c false. */ /*! - Returns true if this key sequence is equal to the \a other - key sequence; otherwise returns false. + Returns \c true if this key sequence is equal to the \a other + key sequence; otherwise returns \c false. */ bool QKeySequence::operator==(const QKeySequence &other) const { @@ -1393,7 +1393,7 @@ bool QKeySequence::operator==(const QKeySequence &other) const /*! Provides an arbitrary comparison of this key sequence and \a other key sequence. All that is guaranteed is that the - operator returns false if both key sequences are equal and + operator returns \c false if both key sequences are equal and that (ks1 \< ks2) == !( ks2 \< ks1) if the key sequences are not equal. @@ -1413,8 +1413,8 @@ bool QKeySequence::operator< (const QKeySequence &other) const /*! \fn bool QKeySequence::operator> (const QKeySequence &other) const - Returns true if this key sequence is larger than the \a other key - sequence; otherwise returns false. + Returns \c true if this key sequence is larger than the \a other key + sequence; otherwise returns \c false. \sa operator==(), operator!=(), operator<(), operator<=(), operator>=() */ @@ -1422,8 +1422,8 @@ bool QKeySequence::operator< (const QKeySequence &other) const /*! \fn bool QKeySequence::operator<= (const QKeySequence &other) const - Returns true if this key sequence is smaller or equal to the - \a other key sequence; otherwise returns false. + Returns \c true if this key sequence is smaller or equal to the + \a other key sequence; otherwise returns \c false. \sa operator==(), operator!=(), operator<(), operator>(), operator>=() */ @@ -1431,8 +1431,8 @@ bool QKeySequence::operator< (const QKeySequence &other) const /*! \fn bool QKeySequence::operator>= (const QKeySequence &other) const - Returns true if this key sequence is larger or equal to the - \a other key sequence; otherwise returns false. + Returns \c true if this key sequence is larger or equal to the + \a other key sequence; otherwise returns \c false. \sa operator==(), operator!=(), operator<(), operator>(), operator<=() */ |