diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-26 11:44:58 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-30 14:26:34 +0900 |
commit | 6dd781c483eea56f51ae0eff47d857976b5d0f0d (patch) | |
tree | 0ddd4408e142ae6f8b13d3538359abd127988b2f /doc/man/man3/tqptrqueue.3qt | |
parent | ff56b6fec14de4cd4b89d5b322531671d200b6e0 (diff) | |
download | tqt-6dd781c483eea56f51ae0eff47d857976b5d0f0d.tar.gz tqt-6dd781c483eea56f51ae0eff47d857976b5d0f0d.zip |
Replace TRUE/FALSE with boolean values true/false - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqptrqueue.3qt')
-rw-r--r-- | doc/man/man3/tqptrqueue.3qt | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/man/man3/tqptrqueue.3qt b/doc/man/man3/tqptrqueue.3qt index 3a772c55f..a05534ab5 100644 --- a/doc/man/man3/tqptrqueue.3qt +++ b/doc/man/man3/tqptrqueue.3qt @@ -84,19 +84,19 @@ For compatibility with the TQPtrCollection classes, current() and remove() are p See also TQPtrList, TQPtrStack, Collection Classes, and Non-GUI Classes. .SH MEMBER FUNCTION DOCUMENTATION .SH "TQPtrQueue::TQPtrQueue ()" -Creates an empty queue with autoDelete() set to FALSE. +Creates an empty queue with autoDelete() set to false. .SH "TQPtrQueue::TQPtrQueue ( const TQPtrQueue<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 "TQPtrQueue::~TQPtrQueue ()" -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 TQPtrQueue::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 TQPtrQueue::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 TQPtrQueue::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 TQPtrQueue::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 "TQPtrQueue::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 "TQDataStream & TQPtrQueue::read ( TQDataStream & s, TQPtrCollection::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 TQPtrQueue::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 TQPtrQueue::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 "TQDataStream & TQPtrQueue::write ( TQDataStream & s, TQPtrCollection::Item item ) const\fC [virtual protected]\fR" |