108 {
if (del_item)
delete item; }
112 {
return (
Item)newValue((
type*)item); }
114 { deleteValue((
type *)item); }
116 {
return compareValues((
const type*)i1,(
const type*)i2); }
119 #if defined(Q_DELETING_VOID_UNDEFINED) 132 bool isEmpty()
const {
return list->count() == 0; }
virtual int compareValues(const type *t1, const type *t2) const
uint contains(QCollection::Item) const
QCollection::Item operator++()
void append(QCollection::Item)
bool removeAt(uint index)
QListIterator< type > & operator=(const QListIterator< type > &it)
QList(const QList< type > &l)
void append(const type *d)
int findRef(const type *d) const
QCollection::Item operator-=(uint)
QCollection::Item get() const
virtual int compareItems(QCollection::Item, QCollection::Item)
int find(const type *d) const
uint containsRef(QCollection::Item) const
virtual Item newItem(Item item)
bool removeRef(QCollection::Item=0)
bool insert(uint i, const type *d)
QCollection::Item operator()()
void inSort(const type *d)
QGListIterator & operator=(const QGListIterator &)
virtual void deleteItem(QCollection::Item item)
The QGList class is an internal class for implementing Qt collection classes.
QCollection::Item clast() const
virtual type * newValue(type *item) const
QListIterator(const QList< type > &l)
bool operator==(const QList< type > &list) const
QCollection::Item toLast()
uint containsRef(const type *d) const
virtual void deleteValue(type *item) const
QList< type > & operator=(const QList< type > &l)
int findRef(QCollection::Item, bool=TRUE)
void setAutoDelete(bool enable)
virtual int compareItems(QCollection::Item i1, QCollection::Item i2)
bool remove(QCollection::Item=0)
QCollection::Item operator--()
QCollection::Item operator+=(uint)
type * operator+=(uint j)
QCollection::Item cfirst() const
type * operator-=(uint j)
bool removeRef(const type *d)
void prepend(const type *d)
uint contains(const type *d) const
bool operator==(const QGList &) const
void inSort(QCollection::Item)
void setAutoDelete(bool enable)
The QGListIterator class is an internal class for implementing QListIterator.
QGList & operator=(const QGList &)
QCollection::Item toFirst()
QCollection::Item takeAt(uint index)
bool insertAt(uint index, QCollection::Item)
int find(QCollection::Item, bool=TRUE)