summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqptrcollection.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqptrcollection.3qt')
-rw-r--r--doc/man/man3/tqptrcollection.3qt8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/man/man3/tqptrcollection.3qt b/doc/man/man3/tqptrcollection.3qt
index 6de2ba4c0..59a93be51 100644
--- a/doc/man/man3/tqptrcollection.3qt
+++ b/doc/man/man3/tqptrcollection.3qt
@@ -68,13 +68,13 @@ This type is the generic "item" in a TQPtrCollection.
.SH "TQPtrCollection::TQPtrCollection ()\fC [protected]\fR"
Constructs a collection. The constructor is protected because TQPtrCollection is an abstract class.
.SH "TQPtrCollection::TQPtrCollection ( const TQPtrCollection & source )\fC [protected]\fR"
-Constructs a copy of \fIsource\fR with autoDelete() set to FALSE. The constructor is protected because TQPtrCollection is an abstract class.
+Constructs a copy of \fIsource\fR with autoDelete() set to false. The constructor is protected because TQPtrCollection is an abstract class.
.PP
Note that if \fIsource\fR has autoDelete turned on, copying it will risk memory leaks, reading freed memory, or both.
.SH "TQPtrCollection::~TQPtrCollection ()\fC [virtual protected]\fR"
Destroys the collection. The destructor is protected because TQPtrCollection is an abstract class.
.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 "void TQPtrCollection::clear ()\fC [pure virtual]\fR"
@@ -106,11 +106,11 @@ This function is seldom reimplemented in the collection template classes. It is
.PP
See also deleteItem().
.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