summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqptrstack.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-07-26 11:44:58 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-07-30 14:26:34 +0900
commit6dd781c483eea56f51ae0eff47d857976b5d0f0d (patch)
tree0ddd4408e142ae6f8b13d3538359abd127988b2f /doc/man/man3/tqptrstack.3qt
parentff56b6fec14de4cd4b89d5b322531671d200b6e0 (diff)
downloadtqt-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/tqptrstack.3qt')
-rw-r--r--doc/man/man3/tqptrstack.3qt12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/man/man3/tqptrstack.3qt b/doc/man/man3/tqptrstack.3qt
index 42633a329..305aac4af 100644
--- a/doc/man/man3/tqptrstack.3qt
+++ b/doc/man/man3/tqptrstack.3qt
@@ -88,13 +88,13 @@ Creates an empty stack.
.SH "TQPtrStack::TQPtrStack ( const TQPtrStack<type> & s )"
Creates a stack by making a shallow copy of another stack \fIs\fR.
.SH "TQPtrStack::~TQPtrStack ()"
-Destroys the stack. All items will be deleted if autoDelete() is TRUE.
+Destroys the stack. All items will be deleted if autoDelete() is true.
.SH "bool TQPtrStack::autoDelete () const"
The same as TQPtrCollection::autoDelete().
.PP
See also setAutoDelete().
.SH "void TQPtrStack::clear ()"
-Removes all items from the stack, deleting them if autoDelete() is TRUE.
+Removes all items from the stack, deleting them if autoDelete() is true.
.PP
See also remove().
.SH "uint TQPtrStack::count () const"
@@ -104,11 +104,11 @@ See also isEmpty().
.SH "type * TQPtrStack::current () const"
Returns a pointer to the top item on the stack (most recently pushed). The stack is not changed. Returns 0 if the stack is empty.
.SH "bool TQPtrStack::isEmpty () const"
-Returns TRUE if the stack contains no elements; otherwise returns FALSE.
+Returns true if the stack contains no elements; otherwise returns false.
.SH "TQPtrStack::operator type * () const"
Returns a pointer to the top item on the stack (most recently pushed). The stack is not changed. Returns 0 if the stack is empty.
.SH "TQPtrStack<type> & TQPtrStack::operator= ( const TQPtrStack<type> & s )"
-Sets the contents of this stack by making a shallow copy of another stack \fIs\fR. Elements currently in this stack will be deleted if autoDelete() is TRUE.
+Sets the contents of this stack by making a shallow copy of another stack \fIs\fR. Elements currently in this stack will be deleted if autoDelete() is true.
.SH "type * TQPtrStack::pop ()"
Removes the top item from the stack and returns it. The stack must not be empty.
.SH "void TQPtrStack::push ( const type * d )"
@@ -120,13 +120,13 @@ The default implementation sets \fIitem\fR to 0.
.PP
See also write().
.SH "bool TQPtrStack::remove ()"
-Removes the top item from the stack and deletes it if autoDelete() is TRUE. Returns TRUE if there was an item to pop; otherwise returns FALSE.
+Removes the top item from the stack and deletes it if autoDelete() is true. Returns true if there was an item to pop; otherwise returns false.
.PP
See also clear().
.SH "void TQPtrStack::setAutoDelete ( bool enable )"
Defines whether this stack auto-deletes its contents. The same as TQPtrCollection::setAutoDelete().
.PP
-If \fIenable\fR is TRUE the stack auto-deletes its contents; if \fIenable\fR is FALSE the stack does not delete its contents.
+If \fIenable\fR is true the stack auto-deletes its contents; if \fIenable\fR is false the stack does not delete its contents.
.PP
See also autoDelete().
.SH "type * TQPtrStack::top () const"