Source Code (Use browser search to find items of interest.)
Class Index
qt'QDict (./qt-2.1.0/src/tools/qdict.h:34)
template<class type> class Q_EXPORT QDict : public QGDict
{
public:
QDict(int size=17, bool caseSensitive=TRUE)
: QGDict(size,StringKey,caseSensitive,FALSE) {}
QDict( const QDict<type> &d ) : QGDict(d) {}
~QDict() { clear(); }
QDict<type> &operator=(const QDict<type> &d)
{ return (QDict<type>&)QGDict::operator=(d); }
uint count() const { return QGDict::count(); }
uint size() const { return QGDict::size(); }
bool isEmpty() const { return QGDict::count() == 0; }
void insert( const QString &k, const type *d )
{ QGDict::look_string(k,(Item)d,1); }
void replace( const QString &k, const type *d )
{ QGDict::look_string(k,(Item)d,2); }
bool remove( const QString &k ) { return QGDict::remove_string(k); }
type *take( const QString &k ) { return (type *)QGDict::take_string(k); }
type *find( const QString &k ) const
{ return (type *)((QGDict*)this)->QGDict::look_string(k,0,0); }
type *operator[]( const QString &k ) const
{ return (type *)((QGDict*)this)->QGDict::look_string(k,0,0); }
void clear() { QGDict::clear(); }
void resize( uint n ) { QGDict::resize(n); }
void statistics() const { QGDict::statistics(); }
private:
void deleteItem( Item d ) { if ( del_item ) delete (type *)d; }
};
qt'QDict::deleteItem() (./qt-2.1.0/include/qdict.h:62)
void deleteItem( Item d ) { if ( del_item ) delete (type *)d; }
};
qt'QDict::deleteItem() (./qt-2.1.0/src/tools/qdict.h:62)
void deleteItem( Item d ) { if ( del_item ) delete (type *)d; }
};