diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-26 11:44:58 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-30 14:26:34 +0900 |
commit | 6dd781c483eea56f51ae0eff47d857976b5d0f0d (patch) | |
tree | 0ddd4408e142ae6f8b13d3538359abd127988b2f /doc/man/man3/tqvaluevector.3qt | |
parent | ff56b6fec14de4cd4b89d5b322531671d200b6e0 (diff) | |
download | tqt-6dd781c483eea56f51ae0eff47d857976b5d0f0d.tar.gz tqt-6dd781c483eea56f51ae0eff47d857976b5d0f0d.zip |
Replace TRUE/FALSE with boolean values true/false - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 6cda7d8f1..bf37da0c0 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 TQValueVector::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 TQValueVector::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 TQValueVector::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 TQValueVector::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 TQValueVector::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 TQValueVector::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 TQValueVector::operator== ( const TQValueVector<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 TQValueVector::operator== ( const TQValueVector<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 TQValueVector::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 |