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/qptrvector.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/qptrvector.doc')
| -rw-r--r-- | doc/qptrvector.doc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/qptrvector.doc b/doc/qptrvector.doc index dba8af826..3dfd17ca8 100644 --- a/doc/qptrvector.doc +++ b/doc/qptrvector.doc @@ -167,7 +167,7 @@ /*! \fn bool QPtrVector::isEmpty() const - Returns TRUE if the vector is empty; otherwise returns FALSE. + Returns true if the vector is empty; otherwise returns false. \sa count() */ @@ -175,7 +175,7 @@ /*! \fn bool QPtrVector::isNull() const - Returns TRUE if the vector is null; otherwise returns FALSE. + Returns true if the vector is null; otherwise returns false. A null vector has size() == 0 and data() == 0. @@ -191,8 +191,8 @@ Any items at position \a size or beyond in the vector are removed. New positions are initialized to 0. - Returns TRUE if successful, i.e. if the memory was successfully - allocated; otherwise returns FALSE. + Returns true if successful, i.e. if the memory was successfully + allocated; otherwise returns false. \sa size(), isNull() */ @@ -213,7 +213,7 @@ Removes the item at position \a i in the vector, if there is one. \a i must be less than size(). - Returns TRUE if \a i is within range; otherwise returns FALSE. + Returns true if \a i is within range; otherwise returns false. \sa take(), at() */ @@ -250,9 +250,9 @@ If \a size >= 0, the vector is first resized to \a size. By default, \a size is -1. - Returns TRUE if successful, i.e. \a size is the same as the + Returns true if successful, i.e. \a size is the same as the current size, or \a size is larger and the memory has successfully - been allocated; otherwise returns FALSE. + been allocated; otherwise returns false. \sa resize(), insert(), isEmpty() */ @@ -425,7 +425,7 @@ /*! \fn bool QPtrVector::operator==( const QPtrVector<type> &v ) const - Returns TRUE if this vector and \a v are equal; otherwise returns - FALSE. + Returns true if this vector and \a v are equal; otherwise returns + false. */ |
