#include <qqueue.h>
Public Member Functions | |
QQueue () | |
QQueue (const QQueue< type > &q) | |
~QQueue () | |
QQueue< type > & | operator= (const QQueue< type > &q) |
bool | autoDelete () const |
void | setAutoDelete (bool del) |
uint | count () const |
bool | isEmpty () const |
void | enqueue (const type *d) |
type * | dequeue () |
bool | remove () |
void | clear () |
type * | head () const |
operator type * () const | |
type * | current () const |
Additional Inherited Members | |
Private Types inherited from QCollection | |
typedef void * | Item |
Private Attributes inherited from QCollection | |
bool | del_item |
Removes all objects from the collection. The objects will be deleted if auto-delete has been enabled.
Reimplemented from QGList.
Definition at line 61 of file qqueue.h.
Definition at line 64 of file qqueue.h.
Virtual function that deletes an item that is about to be removed from the collection.
The default implementation deletes d pointer if and only if auto-delete has been enabled.
This function is always reimplemented in the collection template classes.
Reimplemented from QCollection.
Definition at line 66 of file qqueue.h.
Definition at line 59 of file qqueue.h.
Definition at line 62 of file qqueue.h.
Definition at line 63 of file qqueue.h.
Definition at line 52 of file qqueue.h.