diff options
author | Michele Calgaro <[email protected]> | 2024-06-06 12:20:38 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-06-06 12:20:38 +0900 |
commit | 0881ed5059c46ce73e8241e6260b82b92f6d0e55 (patch) | |
tree | 6d1d4883cc07ad22b11017d0714d4c26e1ce1b94 /doc/man/man3/tqptrstack.3qt | |
parent | 1f0ce8533cc837aa2d4155b5fc17d2004bed0197 (diff) | |
download | tqt3-0881ed5059c46ce73e8241e6260b82b92f6d0e55.tar.gz tqt3-0881ed5059c46ce73e8241e6260b82b92f6d0e55.zip |
Rename ptr nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/man/man3/tqptrstack.3qt')
-rw-r--r-- | doc/man/man3/tqptrstack.3qt | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/doc/man/man3/tqptrstack.3qt b/doc/man/man3/tqptrstack.3qt index e6607756a..53c9769f5 100644 --- a/doc/man/man3/tqptrstack.3qt +++ b/doc/man/man3/tqptrstack.3qt @@ -1,5 +1,5 @@ '\" t -.TH QPtrStack 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQPtrStack 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,23 +7,23 @@ .ad l .nh .SH NAME -QPtrStack \- Template class that provides a stack +TQPtrStack \- Template class that provides a stack .SH SYNOPSIS -\fC#include <ntqptrstack.h>\fR +\fC#include <tqptrstack.h>\fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQPtrStack\fR ()" +.BI "\fBTQPtrStack\fR ()" .br .ti -1c -.BI "\fBQPtrStack\fR ( const QPtrStack<type> & s )" +.BI "\fBTQPtrStack\fR ( const TQPtrStack<type> & s )" .br .ti -1c -.BI "\fB~QPtrStack\fR ()" +.BI "\fB~TQPtrStack\fR ()" .br .ti -1c -.BI "QPtrStack<type> & \fBoperator=\fR ( const QPtrStack<type> & s )" +.BI "TQPtrStack<type> & \fBoperator=\fR ( const TQPtrStack<type> & s )" .br .ti -1c .BI "bool \fBautoDelete\fR () const" @@ -62,76 +62,76 @@ QPtrStack \- Template class that provides a stack .SS "Protected Members" .in +1c .ti -1c -.BI "virtual QDataStream & \fBread\fR ( QDataStream & s, QPtrCollection::Item & item )" +.BI "virtual QDataStream & \fBread\fR ( QDataStream & s, TQPtrCollection::Item & item )" .br .ti -1c -.BI "virtual QDataStream & \fBwrite\fR ( QDataStream & s, QPtrCollection::Item item ) const" +.BI "virtual QDataStream & \fBwrite\fR ( QDataStream & s, TQPtrCollection::Item item ) const" .br .in -1c .SH DESCRIPTION -The QPtrStack class is a template class that provides a stack. +The TQPtrStack class is a template class that provides a stack. .PP TQValueStack is an STL-compatible alternative to this class. .PP -Define a template instance QPtrStack<X> to create a stack that operates on pointers to X, (X*). +Define a template instance TQPtrStack<X> to create a stack that operates on pointers to X, (X*). .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(). Use top() to get a reference to the top element without changing the stack. .PP You can control the stack's deletion policy with setAutoDelete(). .PP -For compatibility with the QPtrCollection classes current() and remove() are provided; they both operate on the top(). +For compatibility with the TQPtrCollection classes current() and remove() are provided; they both operate on the top(). .PP -See also QPtrList, QPtrQueue, and Non-GUI Classes. +See also TQPtrList, TQPtrQueue, and Non-GUI Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QPtrStack::QPtrStack ()" +.SH "TQPtrStack::TQPtrStack ()" Creates an empty stack. -.SH "QPtrStack::QPtrStack ( const QPtrStack<type> & s )" +.SH "TQPtrStack::TQPtrStack ( const TQPtrStack<type> & s )" Creates a stack by making a shallow copy of another stack \fIs\fR. -.SH "QPtrStack::~QPtrStack ()" +.SH "TQPtrStack::~TQPtrStack ()" Destroys the stack. All items will be deleted if autoDelete() is TRUE. -.SH "bool QPtrStack::autoDelete () const" -The same as QPtrCollection::autoDelete(). +.SH "bool TQPtrStack::autoDelete () const" +The same as TQPtrCollection::autoDelete(). .PP See also setAutoDelete(). -.SH "void QPtrStack::clear ()" +.SH "void TQPtrStack::clear ()" Removes all items from the stack, deleting them if autoDelete() is TRUE. .PP See also remove(). -.SH "uint QPtrStack::count () const" +.SH "uint TQPtrStack::count () const" Returns the number of items in the stack. .PP See also isEmpty(). -.SH "type * QPtrStack::current () const" +.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 QPtrStack::isEmpty () const" +.SH "bool TQPtrStack::isEmpty () const" Returns TRUE if the stack contains no elements; otherwise returns FALSE. -.SH "QPtrStack::operator type * () const" +.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 "QPtrStack<type> & QPtrStack::operator= ( const QPtrStack<type> & s )" +.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. -.SH "type * QPtrStack::pop ()" +.SH "type * TQPtrStack::pop ()" Removes the top item from the stack and returns it. The stack must not be empty. -.SH "void QPtrStack::push ( const type * d )" +.SH "void TQPtrStack::push ( const type * d )" Adds an element \fId\fR to the top of the stack. Last in, first out. -.SH "QDataStream & QPtrStack::read ( QDataStream & s, QPtrCollection::Item & item )\fC [virtual protected]\fR" +.SH "QDataStream & TQPtrStack::read ( QDataStream & s, TQPtrCollection::Item & item )\fC [virtual protected]\fR" Reads a stack item, \fIitem\fR, from the stream \fIs\fR and returns a reference to the stream. .PP The default implementation sets \fIitem\fR to 0. .PP See also write(). -.SH "bool QPtrStack::remove ()" +.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. .PP See also clear(). -.SH "void QPtrStack::setAutoDelete ( bool enable )" -Defines whether this stack auto-deletes its contents. The same as QPtrCollection::setAutoDelete(). +.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. .PP See also autoDelete(). -.SH "type * QPtrStack::top () const" +.SH "type * TQPtrStack::top () 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 "QDataStream & QPtrStack::write ( QDataStream & s, QPtrCollection::Item item ) const\fC [virtual protected]\fR" +.SH "QDataStream & TQPtrStack::write ( QDataStream & s, TQPtrCollection::Item item ) const\fC [virtual protected]\fR" Writes a stack item, \fIitem\fR, to the stream \fIs\fR and returns a reference to the stream. .PP The default implementation does nothing. @@ -139,7 +139,7 @@ The default implementation does nothing. See also read(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqptrstack.html +.BR http://doc.trolltech.com/tqptrstack.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the |