#include <qptrlist.h>
Inheritance diagram for FX::QQuickList< type, allocator >:
This is a low overhead list which copies destructively and always has auto-deletion enabled. Ideal for a list being passed around a lot.
Definition at line 549 of file qptrlist.h.
Public Member Functions | |
QQuickList () | |
QQuickList (QQuickList &o) | |
QQuickList & | operator= (QQuickList &o) |
QQuickList (QPtrList< type, allocator > &o) | |
const QPtrList< type, allocator > & | asPtrList () const throw () |
Protected Member Functions | |
bool | autoDelete () const |
void | setAutoDelete (bool a) |
uint | count () const |
bool | isEmpty () const |
bool | insert (uint i, const type *d) |
bool | insertAtIter (QPtrListIterator< type, allocator > &it, const type *d) |
void | inSort (const type *d) |
void | prepend (const type *d) |
void | append (const type *d) |
bool | remove (uint i) |
bool | remove (const type *d) |
bool | removeRef (const type *d) |
bool | removeByIter (QPtrListIterator< type, allocator > &it) |
bool | removeFirst () |
bool | removeLast () |
type * | take (uint i) |
bool | take (const type *d) |
bool | takeByIter (QPtrListIterator< type, allocator > &it) |
bool | takeRef (const type *d) |
bool | takeFirst () |
bool | takeLast () |
void | clear () |
template<typename SortFuncSpec> | |
void | sort (SortFuncSpec sortfunc) |
void | sort () |
int | find (const type *d) |
int | findRef (const type *d) |
uint | contains (const type *d) const |
uint | containsRef (const type *d) const |
bool | replace (uint i, const type *d) |
bool | replaceAtIter (QPtrListIterator< type, allocator > &it, const type *d) |
type * | at (uint i) |
type * | getFirst () const |
type * | getLast () const |
type * | first () |
type * | last () |
virtual int | compareItems (type *a, type *b) const |
Base & | int_list () |
Base::iterator | int_begin () |
Base::iterator | int_end () |
virtual void | deleteItem (type *d) |
template<> | |
void | deleteItem (void *) |
Friends | |
class | QQuickListIterator< type, allocator > |
FXStream & | operator<< (FXStream &s, const QQuickList< type > &_i) |
FXStream & | operator>> (FXStream &s, QQuickList< type > &_i) |