summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqptrdict.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-07-31 13:38:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-07-31 13:43:03 +0900
commit6e4a70d41a2636ce99a1da7b6827ac5685ed3186 (patch)
treeb029ebf1d5be6d1ac0ee361e7bfb68a7dbed0eec /doc/man/man3/tqptrdict.3qt
parent81ade129093a279e6537db25710583fd2bba9427 (diff)
downloadtqt-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/tqptrdict.3qt')
-rw-r--r--doc/man/man3/tqptrdict.3qt10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/man/man3/tqptrdict.3qt b/doc/man/man3/tqptrdict.3qt
index 8a8d1df7c..a87b9949e 100644
--- a/doc/man/man3/tqptrdict.3qt
+++ b/doc/man/man3/tqptrdict.3qt
@@ -162,7 +162,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 QPtrDict::clear ()\fC [virtual]\fR"
@@ -198,7 +198,7 @@ Multiple items can have the same key, in which case only the last item will be a
.PP
See also replace().
.SH "bool QPtrDict::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 "QPtrDict<type> & QPtrDict::operator= ( const QPtrDict<type> & dict )"
@@ -220,7 +220,7 @@ The default implementation sets \fIitem\fR to 0.
.PP
See also write().
.SH "bool QPtrDict::remove ( void * key )"
-Removes the item associated with \fIkey\fR from the dictionary. Returns TRUE if successful, i.e. if \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 \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
@@ -256,11 +256,11 @@ See also insert().
.SH "void QPtrDict::resize ( uint newsize )"
Changes the size of the hash table 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