diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
commit | dcce5b1f2c449ed9a02b1752e0d74f147a83d07d (patch) | |
tree | d57fe27457a96451f1a67e2a2db268a441d917fc /doc/tqmap.doc | |
parent | 649c4c61a1f1f479f4532b196f68df476cef2680 (diff) | |
download | tqt-rename/true-false-4.tar.gz tqt-rename/true-false-4.zip |
Replace TRUE/FALSE with boolean values true/false - part 4rename/true-false-4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/tqmap.doc')
-rw-r--r-- | doc/tqmap.doc | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/doc/tqmap.doc b/doc/tqmap.doc index 4184798eb..d575c95ec 100644 --- a/doc/tqmap.doc +++ b/doc/tqmap.doc @@ -469,8 +469,8 @@ /*! \fn bool TQMap::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 TQMap::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 TQMap::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 TQMapIterator::operator==( const TQMapIterator<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 TQMapIterator::operator!=( const TQMapIterator<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 TQMapConstIterator::operator==( const TQMapConstIterator<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 TQMapConstIterator::operator!=( const TQMapConstIterator<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. */ /*! |