summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqvaluestack.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqvaluestack.3qt')
-rw-r--r--doc/man/man3/tqvaluestack.3qt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/man/man3/tqvaluestack.3qt b/doc/man/man3/tqvaluestack.3qt
index ba24f2b80..19c7ba41a 100644
--- a/doc/man/man3/tqvaluestack.3qt
+++ b/doc/man/man3/tqvaluestack.3qt
@@ -41,7 +41,7 @@ The TQValueStack class is a value-based template class that provides a stack.
.PP
Define a template instance TQValueStack<X> to create a stack of values that all have the class X. TQValueStack is part of the TQt Template Library.
.PP
-Note that TQValueStack does not store pointers to the members of the stack; it holds a copy of every member. That is why these kinds of classes are called "value based"; QPtrStack, QPtrList, QDict, etc., are "pointer based".
+Note that TQValueStack does not store pointers to the members of the stack; it holds a copy of every member. That is why these kinds of classes are called "value based"; TQPtrStack, TQPtrList, QDict, etc., are "pointer based".
.PP
A stack is a last in, first out (LIFO) structure. Items are added to the top of the stack with push() and retrieved from the top with pop(). The top() function provides access to the topmost item without removing it.
.PP
@@ -72,7 +72,7 @@ Example:
.br
.fi
.PP
-TQValueStack is a specialized TQValueList provided for convenience. All of TQValueList's functionality also applies to QPtrStack, for example the facility to iterate over all elements using TQValueStack<T>::Iterator. See TQValueListIterator for further details.
+TQValueStack is a specialized TQValueList provided for convenience. All of TQValueList's functionality also applies to TQPtrStack, for example the facility to iterate over all elements using TQValueStack<T>::Iterator. See TQValueListIterator for further details.
.PP
Some classes cannot be used within a TQValueStack, for example everything derived from TQObject and thus all classes that implement widgets. Only values can be used in a TQValueStack. To qualify as a value, the class must provide
.TP