|
|
| QPtrDict (int size=17) |
| |
|
| QPtrDict (const QPtrDict< type > &d) |
| |
|
QPtrDict< type > & | operator= (const QPtrDict< type > &d) |
| |
| uint | count () const |
| |
|
uint | size () const |
| |
|
bool | isEmpty () const |
| |
|
void | insert (void *k, const type *d) |
| |
|
void | replace (void *k, const type *d) |
| |
|
bool | remove (void *k) |
| |
|
type * | take (void *k) |
| |
|
type * | find (void *k) const |
| |
|
type * | operator[] (void *k) const |
| |
| void | clear () |
| |
|
void | resize (uint n) |
| |
|
void | statistics () const |
| |
|
uint | size () const |
| |
|
QCollection::Item | look_string (const QString &key, QCollection::Item, int) |
| |
|
QCollection::Item | look_ascii (const char *key, QCollection::Item, int) |
| |
|
QCollection::Item | look_int (long key, QCollection::Item, int) |
| |
|
QCollection::Item | look_ptr (void *key, QCollection::Item, int) |
| |
|
QDataStream & | read (QDataStream &) |
| |
|
QDataStream & | write (QDataStream &) const |
| |
| bool | autoDelete () const |
| |
| void | setAutoDelete (bool enable) |
| |
|
|
typedef void * | Item |
| |
| enum | KeyType { StringKey,
AsciiKey,
IntKey,
PtrKey
} |
| |
|
| QGDict (uint len, KeyType kt, bool cs, bool ck) |
| |
|
| QGDict (const QGDict &) |
| |
|
QGDict & | operator= (const QGDict &) |
| |
|
bool | remove_string (const QString &key, QCollection::Item item=0) |
| |
|
bool | remove_ascii (const char *key, QCollection::Item item=0) |
| |
|
bool | remove_int (long key, QCollection::Item item=0) |
| |
|
bool | remove_ptr (void *key, QCollection::Item item=0) |
| |
|
QCollection::Item | take_string (const QString &key) |
| |
|
QCollection::Item | take_ascii (const char *key) |
| |
|
QCollection::Item | take_int (long key) |
| |
|
QCollection::Item | take_ptr (void *key) |
| |
|
void | resize (uint) |
| |
|
int | hashKeyString (const QString &) |
| |
|
int | hashKeyAscii (const char *) |
| |
|
void | statistics () const |
| |
| virtual QDataStream & | read (QDataStream &, QCollection::Item &) |
| |
| virtual QDataStream & | write (QDataStream &, QCollection::Item) const |
| |
| | QCollection () |
| |
| | QCollection (const QCollection &) |
| |
| virtual | ~QCollection () |
| |
| virtual Item | newItem (Item) |
| |
|
bool | del_item |
| |
§ clear()
Removes all objects from the collection. The objects will be deleted if auto-delete has been enabled.
- See also
- setAutoDelete()
Reimplemented from QGDict.
§ count()
Returns the number of objects in the collection.
Reimplemented from QGDict.
The documentation for this class was generated from the following file: