The QStack class is a template class that provides a stack. More...
#include <qstack.h>
QStack is implemented as both a template and a macro class. Define a template instance QStack<X> to create a stack that operates on pointers to X, or X*.
A stack is a collection that can be used to push and pop items.
See also: Collection Classes
Returns the setting of the auto-delete option (default is FALSE).
See also: setAutoDelete().
Sets the auto-delete option of the collection.
Enabling auto-delete (enable is TRUE) will delete objects that are removed from the collection. This can be useful if the collection has the only reference to the objects.
Disabling auto-delete (enable is FALSE) will not delete objects that are removed from the collection. This is useful if the objects are part of many collections.
The default setting is FALSE.
See also: autoDelete().
[virtual]
For internal use only.
Reimplemented from QCollection.
[virtual]
For internal use only.
Reimplemented from QCollection.
This file is part of the Qt toolkit, copyright © 1995-97 Troll Tech, all rights reserved.
It was generated from the following files: