summaryrefslogtreecommitdiffstats
path: root/doc/tqptrqueue.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tqptrqueue.doc')
-rw-r--r--doc/tqptrqueue.doc26
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/tqptrqueue.doc b/doc/tqptrqueue.doc
index a9e8f14a4..9bc3c1197 100644
--- a/doc/tqptrqueue.doc
+++ b/doc/tqptrqueue.doc
@@ -66,7 +66,7 @@
/*!
\fn TQPtrQueue::TQPtrQueue ()
- 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 TQPtrQueue::~TQPtrQueue()
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 TQPtrQueue::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 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.
- 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 TQPtrQueue::clear()
Removes all items from the queue, and deletes them if autoDelete()
- is TRUE.
+ is true.
\sa remove()
*/
@@ -183,7 +183,7 @@
\fn bool TQPtrQueue::autoDelete() const
Returns the setting of the auto-delete option. The default is
- FALSE.
+ false.
\sa setAutoDelete()
*/
@@ -191,14 +191,14 @@
/*!
\fn void TQPtrQueue::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.