diff options
Diffstat (limited to 'doc/man/man3/tqptrvector.3qt')
-rw-r--r-- | doc/man/man3/tqptrvector.3qt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/man/man3/tqptrvector.3qt b/doc/man/man3/tqptrvector.3qt index 4730eb3c1..9c38f3eac 100644 --- a/doc/man/man3/tqptrvector.3qt +++ b/doc/man/man3/tqptrvector.3qt @@ -148,7 +148,7 @@ See also clear(). .SH "type * TQPtrVector::at ( uint i ) const" Returns the item at position \fIi\fR, or 0 if there is no item at that position. \fIi\fR must be less than size(). .SH "bool TQPtrCollection::autoDelete () const" -Returns the setting of the auto-delete option. The default is FALSE. +Returns the setting of the auto-delete option. The default is false. .PP See also setAutoDelete(). .SH "int TQPtrVector::bsearch ( const type * d ) const" @@ -216,7 +216,7 @@ Inserts item \fId\fR in all positions in the vector. Any existing items are remo .PP If \fIsize\fR >= 0, the vector is first resized to \fIsize\fR. By default, \fIsize\fR is -1. .PP -Returns TRUE if successful, i.e. \fIsize\fR is the same as the current size, or \fIsize\fR is larger and the memory has successfully been allocated; otherwise returns FALSE. +Returns true if successful, i.e. \fIsize\fR is the same as the current size, or \fIsize\fR is larger and the memory has successfully been allocated; otherwise returns false. .PP See also resize(), insert(), and isEmpty(). .SH "int TQPtrVector::find ( const type * d, uint i = 0 ) const" @@ -244,11 +244,11 @@ Sets position \fIi\fR in the vector to contain the item \fId\fR. \fIi\fR must be .PP See also at(). .SH "bool TQPtrVector::isEmpty () const" -Returns TRUE if the vector is empty; otherwise returns FALSE. +Returns true if the vector is empty; otherwise returns false. .PP See also count(). .SH "bool TQPtrVector::isNull () const" -Returns TRUE if the vector is null; otherwise returns FALSE. +Returns true if the vector is null; otherwise returns false. .PP A null vector has size() == 0 and data() == 0. .PP @@ -260,7 +260,7 @@ This vector is first cleared and then all the items from \fIv\fR are copied into .PP See also clear(). .SH "bool TQPtrVector::operator== ( const TQPtrVector<type> & v ) const" -Returns TRUE if this vector and \fIv\fR are equal; otherwise returns FALSE. +Returns true if this vector and \fIv\fR are equal; otherwise returns false. .SH "type * TQPtrVector::operator[] ( int i ) const" Returns the item at position \fIi\fR, or 0 if there is no item at that position. \fIi\fR must be less than size(). .PP @@ -276,7 +276,7 @@ See also write(). .SH "bool TQPtrVector::remove ( uint i )" Removes the item at position \fIi\fR in the vector, if there is one. \fIi\fR must be less than size(). .PP -Returns TRUE if \fIi\fR is within range; otherwise returns FALSE. +Returns true if \fIi\fR is within range; otherwise returns false. .PP See also take() and at(). .SH "bool TQPtrVector::resize ( uint size )" @@ -284,15 +284,15 @@ Resizes (expands or shrinks) the vector to \fIsize\fR elements. The vector becom .PP Any items at position \fIsize\fR or beyond in the vector are removed. New positions are initialized to 0. .PP -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. .PP See also size() and isNull(). .SH "void TQPtrCollection::setAutoDelete ( bool enable )" -Sets the collection to auto-delete its contents if \fIenable\fR is TRUE and to never delete them if \fIenable\fR is FALSE. +Sets the collection to auto-delete its contents if \fIenable\fR is true and to never delete them if \fIenable\fR is false. .PP If auto-deleting is turned on, all the items in a collection are deleted when the collection itself is deleted. This is convenient if the collection has the only pointer to the items. .PP -The default setting is FALSE, for safety. If you turn it on, be careful about copying the collection - you might find yourself with two collections deleting the same items. +The default setting is false, for safety. If you turn it on, be careful about copying the collection - you might find yourself with two collections deleting the same items. .PP Note that the auto-delete setting may also affect other functions in subclasses. For example, a subclass that has a remove() function will remove the item from its data structure, and if auto-delete is enabled, will also delete the item. .PP |