diff options
Diffstat (limited to 'doc/man/man3/tqintdict.3qt')
| -rw-r--r-- | doc/man/man3/tqintdict.3qt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/man/man3/tqintdict.3qt b/doc/man/man3/tqintdict.3qt index 1ee5298ba..722527aaf 100644 --- a/doc/man/man3/tqintdict.3qt +++ b/doc/man/man3/tqintdict.3qt @@ -152,7 +152,7 @@ All iterators that access this dictionary will be reset. .PP See also setAutoDelete(). .SH "bool QPtrCollection::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 "void QIntDict::clear ()\fC [virtual]\fR" @@ -192,7 +192,7 @@ See also replace(). .PP Example: scribble/scribble.cpp. .SH "bool QIntDict::isEmpty () const" -Returns TRUE if the dictionary is empty; otherwise returns FALSE. +Returns true if the dictionary is empty; otherwise returns false. .PP See also count(). .SH "QIntDict<type> & QIntDict::operator= ( const QIntDict<type> & dict )" @@ -214,7 +214,7 @@ The default implementation sets \fIitem\fR to 0. .PP See also write(). .SH "bool QIntDict::remove ( long key )" -Removes the item associated with \fIkey\fR from the dictionary. Returns TRUE if successful, i.e. if the \fIkey\fR is in the dictionary; otherwise returns FALSE. +Removes the item associated with \fIkey\fR from the dictionary. Returns true if successful, i.e. if the \fIkey\fR is in the dictionary; otherwise returns false. .PP If there are two or more items with equal keys, then the most recently inserted item will be removed. .PP @@ -254,11 +254,11 @@ Example: table/bigtable/main.cpp. .SH "void QIntDict::resize ( uint newsize )" Changes the size of the hashtable to \fInewsize\fR. The contents of the dictionary are preserved, but all iterators on the dictionary become invalid. .SH "void QPtrCollection::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 |
