diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
| commit | b87533f9904c10f24d6b2e8177c00944e3efe15b (patch) | |
| tree | c1106a381c851b51e86004698457aef1211b77be /doc/qmap.doc | |
| parent | 894037c3e68e1573a34183d936171f8cda5085f3 (diff) | |
| download | tqt-r14.1.x.tar.gz tqt-r14.1.x.zip | |
Replace TRUE/FALSE with boolean values true/false - part 4r14.1.x
Manually cherry-picked from commit 4d495175
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/qmap.doc')
| -rw-r--r-- | doc/qmap.doc | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/doc/qmap.doc b/doc/qmap.doc index 6f5987ed5..8b30a5e88 100644 --- a/doc/qmap.doc +++ b/doc/qmap.doc @@ -469,8 +469,8 @@ /*! \fn bool QMap::empty() const - Returns TRUE if the map contains no items; otherwise returns - FALSE. + Returns true if the map contains no items; otherwise returns + false. This function is provided for STL compatibility. It is equivalent to isEmpty(). @@ -487,8 +487,8 @@ whose \c first element is a key to be inserted and whose \c second element is the associated value to be inserted. Returns a pair whose \c first element is an iterator pointing to the inserted - item and whose \c second element is a bool indicating TRUE if \a x - was inserted and FALSE if it was not inserted, e.g. because it was + item and whose \c second element is a bool indicating true if \a x + was inserted and false if it was not inserted, e.g. because it was already present. \sa replace() @@ -559,8 +559,8 @@ /*! \fn bool QMap::isEmpty() const - Returns TRUE if the map contains no items; otherwise returns - FALSE. + Returns true if the map contains no items; otherwise returns + false. \sa count() */ @@ -570,8 +570,8 @@ Inserts a new item with the key, \a key, and a value of \a value. If there is already an item whose key is \a key, that item's value - is replaced with \a value, unless \a overwrite is FALSE (it is - TRUE by default). In this case an iterator to this item is + is replaced with \a value, unless \a overwrite is false (it is + true by default). In this case an iterator to this item is returned, else an iterator to the new item is returned. */ @@ -595,8 +595,8 @@ /*! \fn bool QMap::contains( const Key& k ) const - Returns TRUE if the map contains an item with key \a k; otherwise - returns FALSE. + Returns true if the map contains an item with key \a k; otherwise + returns false. */ @@ -726,15 +726,15 @@ /*! \fn bool QMapIterator::operator==( const QMapIterator<K,T>& it ) const - Compares the iterator to the \a it iterator and returns TRUE if - they point to the same item; otherwise returns FALSE. + Compares the iterator to the \a it iterator and returns true if + they point to the same item; otherwise returns false. */ /*! \fn bool QMapIterator::operator!=( const QMapIterator<K,T>& it ) const - Compares the iterator to the \a it iterator and returns FALSE if - they point to the same item; otherwise returns TRUE. + Compares the iterator to the \a it iterator and returns false if + they point to the same item; otherwise returns true. */ /*! @@ -878,15 +878,15 @@ /*! \fn bool QMapConstIterator::operator==( const QMapConstIterator<K,T>& it ) const - Compares the iterator to the \a it iterator and returns TRUE if - they point to the same item; otherwise returns FALSE. + Compares the iterator to the \a it iterator and returns true if + they point to the same item; otherwise returns false. */ /*! \fn bool QMapConstIterator::operator!=( const QMapConstIterator<K,T>& it ) const - Compares the iterator to the \a it iterator and returns FALSE if - they point to the same item; otherwise returns TRUE. + Compares the iterator to the \a it iterator and returns false if + they point to the same item; otherwise returns true. */ /*! |
