#include <qinternallist.h>
Public Member Functions | |
QInternalList () | |
QInternalList (const QInternalList< type > &l) | |
~QInternalList () | |
QInternalList< type > & | operator= (const QInternalList< type > &l) |
bool | operator== (const QInternalList< type > &list) const |
uint | count () const |
bool | isEmpty () const |
bool | insert (uint i, const type *d) |
void | inSort (const type *d) |
void | prepend (const type *d) |
void | append (const type *d) |
bool | remove (uint i) |
bool | remove () |
bool | remove (const type *d) |
bool | removeRef (const type *d) |
void | removeNode (QLNode *n) |
bool | removeFirst () |
bool | removeLast () |
type * | take (uint i) |
type * | take () |
type * | takeNode (QLNode *n) |
void | clear () |
void | sort () |
int | find (const type *d) |
int | findNext (const type *d) |
int | findRef (const type *d) |
int | findNextRef (const type *d) |
uint | contains (const type *d) const |
uint | containsRef (const type *d) const |
type * | at (uint i) |
int | at () const |
type * | current () const |
QLNode * | currentNode () const |
type * | getFirst () const |
type * | getLast () const |
type * | first () |
type * | last () |
type * | next () |
type * | prev () |
void | toVector (QGVector *vec) const |
Public Member Functions inherited from QGList | |
QDataStream & | read (QDataStream &) |
QDataStream & | write (QDataStream &) const |
Public Member Functions inherited from QCollection | |
bool | autoDelete () const |
void | setAutoDelete (bool enable) |
Private Member Functions | |
void | deleteItem (QCollection::Item d) |
template<> | |
void | deleteItem (QCollection::Item) |
Definition at line 46 of file qinternallist.h.
|
inline |
Definition at line 49 of file qinternallist.h.
|
inline |
Definition at line 50 of file qinternallist.h.
|
inline |
Definition at line 51 of file qinternallist.h.
|
inline |
Definition at line 61 of file qinternallist.h.
|
inline |
Definition at line 81 of file qinternallist.h.
|
inline |
Definition at line 82 of file qinternallist.h.
|
inlinevirtual |
Removes all objects from the collection. The objects will be deleted if auto-delete has been enabled.
Reimplemented from QGList.
Definition at line 72 of file qinternallist.h.
|
inline |
Definition at line 78 of file qinternallist.h.
|
inline |
Definition at line 79 of file qinternallist.h.
|
inlinevirtual |
Returns the number of objects in the collection.
Reimplemented from QGList.
Definition at line 56 of file qinternallist.h.
|
inline |
Definition at line 83 of file qinternallist.h.
|
inline |
Definition at line 84 of file qinternallist.h.
|
inlineprivatevirtual |
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.
Reimplemented in QStrList.
Definition at line 102 of file qinternallist.h.
|
inlineprivatevirtual |
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 97 of file qinternallist.h.
|
inline |
Definition at line 74 of file qinternallist.h.
|
inline |
Definition at line 75 of file qinternallist.h.
|
inline |
Definition at line 77 of file qinternallist.h.
|
inline |
Definition at line 76 of file qinternallist.h.
|
inline |
Definition at line 87 of file qinternallist.h.
|
inline |
Definition at line 85 of file qinternallist.h.
|
inline |
Definition at line 86 of file qinternallist.h.
|
inline |
Definition at line 58 of file qinternallist.h.
|
inline |
Definition at line 59 of file qinternallist.h.
|
inline |
Definition at line 57 of file qinternallist.h.
|
inline |
Definition at line 88 of file qinternallist.h.
|
inline |
Definition at line 89 of file qinternallist.h.
|
inline |
Definition at line 52 of file qinternallist.h.
|
inline |
Definition at line 54 of file qinternallist.h.
|
inline |
Definition at line 60 of file qinternallist.h.
|
inline |
Definition at line 90 of file qinternallist.h.
|
inline |
Definition at line 62 of file qinternallist.h.
|
inline |
Definition at line 63 of file qinternallist.h.
|
inline |
Definition at line 64 of file qinternallist.h.
|
inline |
Definition at line 67 of file qinternallist.h.
|
inline |
Definition at line 68 of file qinternallist.h.
|
inline |
Definition at line 66 of file qinternallist.h.
|
inline |
Definition at line 65 of file qinternallist.h.
|
inline |
Definition at line 73 of file qinternallist.h.
|
inline |
Definition at line 69 of file qinternallist.h.
|
inline |
Definition at line 70 of file qinternallist.h.
|
inline |
Definition at line 71 of file qinternallist.h.
|
inline |
Definition at line 91 of file qinternallist.h.