42 #include "private/qdeclarativeintegercache_p.h" 44 #include "private/qdeclarativeengine_p.h" 45 #include "private/qdeclarativemetatype_p.h" 71 if (iter.value() && iter.value()->value ==
value)
84 Data *
d =
new Data(enginePriv->objectClass->createPersistentIdentifier(
id),
value);
IdentifierCache identifierCache
The QHash::const_iterator class provides an STL-style const iterator for QHash and QMultiHash...
#define QT_END_NAMESPACE
This macro expands to.
void clear()
Removes all items from the hash.
QString findId(int value) const
The QString class provides a Unicode character string.
static QDeclarativeEnginePrivate * get(QDeclarativeEngine *e)
bool contains(const Key &key) const
Returns true if the hash contains an item with the key; otherwise returns false.
const T value(const Key &key) const
Returns the value associated with the key.
iterator insert(const Key &key, const T &value)
Inserts a new item with the key and a value of value.
virtual ~QDeclarativeIntegerCache()
QDeclarativeEngine * engine
#define QT_BEGIN_NAMESPACE
This macro expands to.
iterator end()
Returns an STL-style iterator pointing to the imaginary item after the last item in the hash...
The QDeclarativeEngine class provides an environment for instantiating QML components.
QDeclarativeIntegerCache(QDeclarativeEngine *)
iterator begin()
Returns an STL-style iterator pointing to the first item in the hash.
void add(const QString &, int)
The QDeclarativeCleanup provides a callback when a QDeclarativeEngine is deleted. ...
int value(const QString &)
Q_OUTOFLINE_TEMPLATE void qDeleteAll(ForwardIterator begin, ForwardIterator end)