42 #ifndef QDECLARATIVEINTEGERCACHE_P_H 43 #define QDECLARATIVEINTEGERCACHE_P_H 56 #include "private/qdeclarativerefcount_p.h" 57 #include "private/qdeclarativecleanup_p.h" 59 #include <QtCore/qhash.h> 61 #include <private/qscriptdeclarativeclass_p.h> 73 inline int count()
const;
101 return d?d->
value:-1;
111 #endif // QDECLARATIVEINTEGERCACHE_P_H QHash< QScriptDeclarativeClass::Identifier, Data * > IdentifierCache
IdentifierCache identifierCache
#define QT_END_NAMESPACE
This macro expands to.
QString findId(int value) const
The QString class provides a Unicode character string.
QHash< QString, Data * > StringCache
Data(const QScriptDeclarativeClass::PersistentIdentifier &i, int v)
virtual ~QDeclarativeIntegerCache()
QDeclarativeEngine * engine
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QDeclarativeEngine class provides an environment for instantiating QML components.
QDeclarativeIntegerCache(QDeclarativeEngine *)
void add(const QString &, int)
The QDeclarativeCleanup provides a callback when a QDeclarativeEngine is deleted. ...
int count(const Key &key) const
Returns the number of items associated with the key.
int value(const QString &)