summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqptrqueue.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/tqptrqueue.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/tqptrqueue.3qt')
-rw-r--r--doc/man/man3/tqptrqueue.3qt22
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/man/man3/tqptrqueue.3qt b/doc/man/man3/tqptrqueue.3qt
index 7dc08ccf3..030ab801d 100644
--- a/doc/man/man3/tqptrqueue.3qt
+++ b/doc/man/man3/tqptrqueue.3qt
@@ -84,19 +84,19 @@ For compatibility with the QPtrCollection classes, current() and remove() are pr
See also QPtrList, QPtrStack, Collection Classes, and Non-GUI Classes.
.SH MEMBER FUNCTION DOCUMENTATION
.SH "QPtrQueue::QPtrQueue ()"
-Creates an empty queue with autoDelete() set to FALSE.
+Creates an empty queue with autoDelete() set to false.
.SH "QPtrQueue::QPtrQueue ( const QPtrQueue<type> & queue )"
Creates a queue from \fIqueue\fR.
.PP
-Only the pointers are copied; the items are not. The autoDelete() flag is set to FALSE.
+Only the pointers are copied; the items are not. The autoDelete() flag is set to false.
.SH "QPtrQueue::~QPtrQueue ()"
-Destroys the queue. Items in the queue are deleted if autoDelete() is TRUE.
+Destroys the queue. Items in the queue are deleted if autoDelete() is true.
.SH "bool QPtrQueue::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 QPtrQueue::clear ()"
-Removes all items from the queue, and deletes them if autoDelete() is TRUE.
+Removes all items from the queue, and deletes them if autoDelete() is true.
.PP
See also remove().
.SH "uint QPtrQueue::count () const"
@@ -120,7 +120,7 @@ Returns a pointer to the head item in the queue. The queue is not changed. Retur
.PP
See also dequeue() and isEmpty().
.SH "bool QPtrQueue::isEmpty () const"
-Returns TRUE if the queue is empty; otherwise returns FALSE.
+Returns true if the queue is empty; otherwise returns false.
.PP
See also count(), dequeue(), and head().
.SH "QPtrQueue::operator type * () const"
@@ -132,7 +132,7 @@ Assigns \fIqueue\fR to this queue and returns a reference to this queue.
.PP
This queue is first cleared and then each item in \fIqueue\fR is enqueued to this queue. Only the pointers are copied.
.PP
-\fBWarning:\fR The autoDelete() flag is not modified. If it it TRUE for both \fIqueue\fR and this queue, deleting the two lists will cause \fIdouble-deletion\fR of the items.
+\fBWarning:\fR The autoDelete() flag is not modified. If it it true for both \fIqueue\fR and this queue, deleting the two lists will cause \fIdouble-deletion\fR of the items.
.SH "QDataStream & QPtrQueue::read ( QDataStream & s, QPtrCollection::Item & item )\fC [virtual protected]\fR"
Reads a queue item, \fIitem\fR, from the stream \fIs\fR and returns a reference to the stream.
.PP
@@ -140,17 +140,17 @@ The default implementation sets \fIitem\fR to 0.
.PP
See also write().
.SH "bool QPtrQueue::remove ()"
-Removes the head item from the queue, and returns TRUE if there was an item, i.e. the queue wasn't empty; otherwise returns FALSE.
+Removes the head item from the queue, and returns true if there was an item, i.e. the queue wasn't empty; otherwise returns false.
.PP
-The item is deleted if autoDelete() is TRUE.
+The item is deleted if autoDelete() is true.
.PP
See also head(), isEmpty(), and dequeue().
.SH "void QPtrQueue::setAutoDelete ( bool enable )"
-Sets the queue to auto-delete its contents if \fIenable\fR is TRUE and not to delete them if \fIenable\fR is FALSE.
+Sets the queue to auto-delete its contents if \fIenable\fR is true and not to delete them if \fIenable\fR is false.
.PP
If auto-deleting is turned on, all the items in a queue are deleted when the queue itself is deleted. This can be quite convenient if the queue 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 queue: you might find yourself with two queues deleting the same items.
+The default setting is false, for safety. If you turn it on, be careful about copying the queue: you might find yourself with two queues deleting the same items.
.PP
See also autoDelete().
.SH "QDataStream & QPtrQueue::write ( QDataStream & s, QPtrCollection::Item item ) const\fC [virtual protected]\fR"