void insertField(
const Key& key,
const T&
value) { QHash<unsigned int, T>::insert(method(key),
value); } \
int remove(const Key& key) { return QHash<unsigned int, T>::remove(method(key)); } \
int removeAllFields(const Key& key) \
{ \
int removedCount = 0; \
\
for (DatabaseFieldsEnumIteratorSetOnly<Key> it(key) ; !it.atEnd() ; ++it) \
{ \
removedCount += remove(*it); \
} \
\
return removedCount; \
} \
\
T take(const Key& key) { return QHash<unsigned int, T>::take(method(key)); } \
\
bool contains(const Key& key) const { return QHash<unsigned int, T>::contains(method(key)); } \
\
T& operator[](const Key& key) { return QHash<unsigned int, T>::operator[](method(key)); } \
const
T operator[](
const Key& key)
const {
return QHash<unsigned int, T>::operator[](method(key)); } \
\
int count(const Key& key) const { return QHash<unsigned int, T>::count(method(key)); }
qulonglong value
Definition: itemviewutilities.cpp:592