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/tqmemarray.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/tqmemarray.3qt')
-rw-r--r-- | doc/man/man3/tqmemarray.3qt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/man/man3/tqmemarray.3qt b/doc/man/man3/tqmemarray.3qt index ad703b5d6..aa845bbfd 100644 --- a/doc/man/man3/tqmemarray.3qt +++ b/doc/man/man3/tqmemarray.3qt @@ -390,7 +390,7 @@ Returns a const iterator pointing behind the last element of this array. This it .SH "bool TQMemArray::fill ( const type & v, int size = -1 )" Fills the array with the value \fIv\fR. If \fIsize\fR is specified as different from -1, then the array will be resized before being filled. .PP -Returns TRUE if successful, i.e. if \fIsize\fR is -1, or \fIsize\fR is != -1 and the memory can be allocated; otherwise returns FALSE. +Returns true if successful, i.e. if \fIsize\fR is -1, or \fIsize\fR is != -1 and the memory can be allocated; otherwise returns false. .PP See also resize(). .SH "int TQMemArray::find ( const type & v, uint index = 0 ) const" @@ -400,11 +400,11 @@ Returns the position of \fIv\fR, or -1 if \fIv\fR could not be found. .PP See also contains(). .SH "bool TQMemArray::isEmpty () const" -Returns TRUE if the array is empty; otherwise returns FALSE. +Returns true if the array is empty; otherwise returns false. .PP isEmpty() is equivalent to isNull() for TQMemArray (unlike TQString). .SH "bool TQMemArray::isNull () const" -Returns TRUE if the array is null; otherwise returns FALSE. +Returns true if the array is null; otherwise returns false. .PP A null array has size() == 0 and data() == 0. .SH "uint TQMemArray::nrefs () const" @@ -414,7 +414,7 @@ Cast operator. Returns a pointer to the array. .PP See also data(). .SH "bool TQMemArray::operator!= ( const TQMemArray<type> & a ) const" -Returns TRUE if this array is different from \fIa\fR; otherwise returns FALSE. +Returns true if this array is different from \fIa\fR; otherwise returns false. .PP The two arrays are compared bitwise. .PP @@ -424,7 +424,7 @@ Assigns a shallow copy of \fIa\fR to this array and returns a reference to this .PP Equivalent to assign( a ). .SH "bool TQMemArray::operator== ( const TQMemArray<type> & a ) const" -Returns TRUE if this array is equal to \fIa\fR; otherwise returns FALSE. +Returns true if this array is equal to \fIa\fR; otherwise returns false. .PP The two arrays are compared bitwise. .PP @@ -444,7 +444,7 @@ See also setRawData(). .SH "bool TQMemArray::resize ( uint size, Optimization optim )" Resizes (expands or shrinks) the array to \fIsize\fR elements. The array becomes a null array if \fIsize\fR == 0. .PP -Returns TRUE if successful, or FALSE if the memory cannot be allocated. +Returns true if successful, or false if the memory cannot be allocated. .PP New elements are not initialized. .PP @@ -460,7 +460,7 @@ This is an overloaded member function, provided for convenience. It behaves esse .PP Resizes (expands or shrinks) the array to \fIsize\fR elements. The array becomes a null array if \fIsize\fR == 0. .PP -Returns TRUE if successful, i.e. if the memory can be allocated; otherwise returns FALSE. +Returns true if successful, i.e. if the memory can be allocated; otherwise returns false. .PP New elements are not initialized. .PP @@ -526,7 +526,7 @@ See also bsearch(). .SH "bool TQMemArray::truncate ( uint pos )" Truncates the array at position \fIpos\fR. .PP -Returns TRUE if successful, i.e. if the memory can be allocated; otherwise returns FALSE. +Returns true if successful, i.e. if the memory can be allocated; otherwise returns false. .PP Equivalent to resize(\fIpos\fR). .PP |