summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqptrstack.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/tqptrstack.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/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 8964b2c82..75b1e122d 100644
--- a/doc/man/man3/tqptrstack.3qt
+++ b/doc/man/man3/tqptrstack.3qt
@@ -88,13 +88,13 @@ Creates an empty stack.
.SH "QPtrStack::QPtrStack ( const QPtrStack<type> & s )"
Creates a stack by making a shallow copy of another stack \fIs\fR.
.SH "QPtrStack::~QPtrStack ()"
-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 QPtrStack::autoDelete () const"
The same as QPtrCollection::autoDelete().
.PP
See also setAutoDelete().
.SH "void QPtrStack::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 QPtrStack::count () const"
@@ -104,11 +104,11 @@ See also isEmpty().
.SH "type * QPtrStack::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 QPtrStack::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 "QPtrStack::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 "QPtrStack<type> & QPtrStack::operator= ( const QPtrStack<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 * QPtrStack::pop ()"
Removes the top item from the stack and returns it. The stack must not be empty.
.SH "void QPtrStack::push ( const type * d )"
@@ -120,13 +120,13 @@ The default implementation sets \fIitem\fR to 0.
.PP
See also write().
.SH "bool QPtrStack::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 QPtrStack::setAutoDelete ( bool enable )"
Defines whether this stack auto-deletes its contents. The same as QPtrCollection::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 * QPtrStack::top () const"