42 #include "qcollection.h" 50 #ifndef QT_NO_DATASTREAM 64 Item *data()
const {
return vec; }
65 uint size()
const {
return len; }
66 uint
count()
const {
return numItems; }
68 bool insert( uint index, Item );
69 bool remove( uint index );
70 Item take( uint index );
73 bool resize( uint newsize );
75 bool fill( Item,
int flen );
78 int bsearch( Item )
const;
80 int findRef( Item, uint index )
const;
81 int find( Item, uint index )
const;
82 uint containsRef( Item )
const;
83 uint contains( Item )
const;
85 Item at( uint index )
const 87 #if defined(CHECK_RANGE) 89 warningIndexRange( index );
94 bool insertExpand( uint index, Item );
96 void toList(
QGList * )
const;
98 #ifndef QT_NO_DATASTREAM 107 static void warningIndexRange( uint );
115 #ifndef QT_NO_DATASTREAM virtual int compareItems(QCollection::Item, QCollection::Item)
Definition: qglist.cpp:125
uint count() const
Definition: qgvector.h:66
The QGList class is an internal class for implementing Qt collection classes.
Definition: qglist.h:68
The QCollection class is the base class of all Qt collections.
Definition: qcollection.h:51
The QGVector class is an internal class for implementing Qt collection classes.
Definition: qgvector.h:46
void sort()
Definition: qglist.cpp:934
The QDataStream class provides serialization of binary data to a QIODevice.
Definition: qdatastream.h:47