diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-31 13:38:31 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-31 13:43:03 +0900 |
| commit | 6e4a70d41a2636ce99a1da7b6827ac5685ed3186 (patch) | |
| tree | b029ebf1d5be6d1ac0ee361e7bfb68a7dbed0eec /doc/man/man3/tqvaluevector.3qt | |
| parent | 81ade129093a279e6537db25710583fd2bba9427 (diff) | |
| download | tqt-6e4a70d41a2636ce99a1da7b6827ac5685ed3186.tar.gz tqt-6e4a70d41a2636ce99a1da7b6827ac5685ed3186.zip | |
Replace TRUE/FALSE with boolean values true/false - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked and manually edited from commit 6dd781c483eea56f51ae0eff47d857976b5d0f0d)
Diffstat (limited to 'doc/man/man3/tqvaluevector.3qt')
| -rw-r--r-- | doc/man/man3/tqvaluevector.3qt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/man/man3/tqvaluevector.3qt b/doc/man/man3/tqvaluevector.3qt index a291ab580..24a186ff9 100644 --- a/doc/man/man3/tqvaluevector.3qt +++ b/doc/man/man3/tqvaluevector.3qt @@ -471,11 +471,11 @@ Appends a copy of \fIx\fR to the end of the vector. .PP See also push_back() and insert(). .SH "reference QValueVector::at ( size_type i, bool * ok = 0 )" -Returns a reference to the element with index \fIi\fR. If \fIok\fR is non-null, and the index \fIi\fR is out of range, *\fIok\fR is set to FALSE and the returned reference is undefined. If the index \fIi\fR is within the range of the vector, and \fIok\fR is non-null, *\fIok\fR is set to TRUE and the returned reference is well defined. +Returns a reference to the element with index \fIi\fR. If \fIok\fR is non-null, and the index \fIi\fR is out of range, *\fIok\fR is set to false and the returned reference is undefined. If the index \fIi\fR is within the range of the vector, and \fIok\fR is non-null, *\fIok\fR is set to true and the returned reference is well defined. .SH "const_reference QValueVector::at ( size_type i, bool * ok = 0 ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Returns a const reference to the element with index \fIi\fR. If \fIok\fR is non-null, and the index \fIi\fR is out of range, *\fIok\fR is set to FALSE and the returned reference is undefined. If the index \fIi\fR is within the range of the vector, and \fIok\fR is non-null, *\fIok\fR is set to TRUE and the returned reference is well defined. +Returns a const reference to the element with index \fIi\fR. If \fIok\fR is non-null, and the index \fIi\fR is out of range, *\fIok\fR is set to false and the returned reference is undefined. If the index \fIi\fR is within the range of the vector, and \fIok\fR is non-null, *\fIok\fR is set to true and the returned reference is well defined. .SH "reference QValueVector::back ()" Returns a reference to the last element in the vector. If there is no last element, this function has undefined behavior. .PP @@ -509,7 +509,7 @@ Returns the number of items in the vector. .PP See also isEmpty(). .SH "bool QValueVector::empty () const" -Returns TRUE if the vector is empty; otherwise returns FALSE. Equivalent to size()==0, only faster. +Returns true if the vector is empty; otherwise returns false. Equivalent to size()==0, only faster. .PP This function is provided for STL compatibility. It is equivalent to isEmpty(). .PP @@ -553,7 +553,7 @@ Inserts \fIn\fR copies of \fIx\fR immediately before position x. .PP See also push_back(). .SH "bool QValueVector::isEmpty () const" -Returns TRUE if the vector is empty; returns FALSE otherwise. +Returns true if the vector is empty; returns false otherwise. .PP See also count(). .SH "reference QValueVector::last ()" @@ -573,11 +573,11 @@ Assigns \fIv\fR to this vector and returns a reference to this vector. .PP All iterators of the current vector become invalidated by this operation. The cost of this assignment is O(n) since \fIv\fR is copied. .SH "bool QValueVector::operator== ( const QValueVector<T> & x ) const" -Returns TRUE if each element in this vector equals each corresponding element in \fIx\fR; otherwise returns FALSE. +Returns true if each element in this vector equals each corresponding element in \fIx\fR; otherwise returns false. .SH "bool QValueVector::operator== ( const QValueVector<T> & x )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Returns TRUE if each element in this vector equals each corresponding element in \fIx\fR; otherwise returns FALSE. +Returns true if each element in this vector equals each corresponding element in \fIx\fR; otherwise returns false. .SH "reference QValueVector::operator[] ( size_type i )" Returns a reference to the element at index \fIi\fR. If \fIi\fR is out of range, this function has undefined behavior. .PP |
