55 uint size()
const {
return QGDict::size(); }
57 void insert(
long k,
const type *d )
58 { QGDict::look_int(k,(Item)d,1); }
59 void replace(
long k,
const type *d )
60 { QGDict::look_int(k,(Item)d,2); }
61 bool remove(
long k ) {
return QGDict::remove_int(k); }
62 type *take(
long k ) {
return (type*)QGDict::take_int(k); }
63 type *find(
long k )
const 64 {
return (type *)((
QGDict*)
this)->QGDict::look_int(k,0,0); }
65 type *operator[](
long k )
const 66 {
return (type *)((
QGDict*)
this)->QGDict::look_int(k,0,0); }
68 void resize( uint n ) { QGDict::resize(n); }
69 void statistics()
const { QGDict::statistics(); }
74 #if defined(Q_DELETING_VOID_UNDEFINED) 82 if ( del_item )
delete (type *)d;
90 uint count()
const {
return dict->count(); }
91 bool isEmpty()
const {
return dict->count() == 0; }
92 type *toFirst() {
return (type *)QGDictIterator::toFirst(); }
93 operator type *()
const {
return (type *)QGDictIterator::get(); }
94 type *current()
const {
return (type *)QGDictIterator::get(); }
95 long currentKey()
const {
return QGDictIterator::getKeyInt(); }
96 type *operator()() {
return (type *)QGDictIterator::operator()(); }
97 type *operator++() {
return (type *)QGDictIterator::operator++(); }
98 type *operator+=(uint j) {
return (type *)QGDictIterator::operator+=(j);}
Definition: qintdict.h:46
uint count() const
Definition: qgdict.h:107
void clear()
Definition: qgdict.cpp:857
An internal class for implementing QDictIterator and QIntDictIterator.
Definition: qgdict.h:167
The QGDict class is an internal class for implementing QDict template classes.
Definition: qgdict.h:104
void clear()
Definition: qintdict.h:67
Definition: qintdict.h:85
uint count() const
Definition: qintdict.h:54
virtual void deleteItem(Item)
Definition: qcollection.cpp:174