diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
| commit | b87533f9904c10f24d6b2e8177c00944e3efe15b (patch) | |
| tree | c1106a381c851b51e86004698457aef1211b77be /doc/qptrqueue.doc | |
| parent | 894037c3e68e1573a34183d936171f8cda5085f3 (diff) | |
| download | tqt-r14.1.x.tar.gz tqt-r14.1.x.zip | |
Replace TRUE/FALSE with boolean values true/false - part 4r14.1.x
Manually cherry-picked from commit 4d495175
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/qptrqueue.doc')
| -rw-r--r-- | doc/qptrqueue.doc | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/qptrqueue.doc b/doc/qptrqueue.doc index 6dc8ddf9e..793bbab2b 100644 --- a/doc/qptrqueue.doc +++ b/doc/qptrqueue.doc @@ -66,7 +66,7 @@ /*! \fn QPtrQueue::QPtrQueue () - Creates an empty queue with autoDelete() set to FALSE. + Creates an empty queue with autoDelete() set to false. */ /*! @@ -75,14 +75,14 @@ Creates a queue from \a queue. Only the pointers are copied; the items are not. The autoDelete() - flag is set to FALSE. + flag is set to false. */ /*! \fn QPtrQueue::~QPtrQueue() Destroys the queue. Items in the queue are deleted if autoDelete() - is TRUE. + is true. */ /*! @@ -94,7 +94,7 @@ This queue is first cleared and then each item in \a queue is enqueued to this queue. Only the pointers are copied. - \warning The autoDelete() flag is not modified. If it it TRUE for + \warning The autoDelete() flag is not modified. If it it true for both \a queue and this queue, deleting the two lists will cause \e double-deletion of the items. */ @@ -102,7 +102,7 @@ /*! \fn bool QPtrQueue::isEmpty() const - Returns TRUE if the queue is empty; otherwise returns FALSE. + Returns true if the queue is empty; otherwise returns false. \sa count() dequeue() head() */ @@ -127,10 +127,10 @@ /*! \fn 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. - The item is deleted if autoDelete() is TRUE. + The item is deleted if autoDelete() is true. \sa head() isEmpty() dequeue() */ @@ -139,7 +139,7 @@ \fn void QPtrQueue::clear() Removes all items from the queue, and deletes them if autoDelete() - is TRUE. + is true. \sa remove() */ @@ -183,7 +183,7 @@ \fn bool QPtrQueue::autoDelete() const Returns the setting of the auto-delete option. The default is - FALSE. + false. \sa setAutoDelete() */ @@ -191,14 +191,14 @@ /*! \fn void QPtrQueue::setAutoDelete( bool enable ) - Sets the queue to auto-delete its contents if \a enable is TRUE - and not to delete them if \a enable is FALSE. + Sets the queue to auto-delete its contents if \a enable is true + and not to delete them if \a enable is false. 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. - The default setting is FALSE, for safety. If you turn it on, be + 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. |
