Qt 4.8
|
#include <qdeclarativeintegercache_p.h>
Classes | |
struct | Data |
Public Functions | |
void | add (const QString &, int) |
int | count () const |
QString | findId (int value) const |
QDeclarativeIntegerCache (QDeclarativeEngine *) | |
int | value (const QString &) |
int | value (const QScriptDeclarativeClass::Identifier &id) const |
virtual | ~QDeclarativeIntegerCache () |
Public Functions inherited from QDeclarativeRefCount | |
void | addref () |
QDeclarativeRefCount () | |
void | release () |
virtual | ~QDeclarativeRefCount () |
Public Functions inherited from QDeclarativeCleanup | |
QDeclarativeCleanup (QDeclarativeEngine *) | |
virtual | ~QDeclarativeCleanup () |
Protected Functions | |
virtual void | clear () |
Private Types | |
typedef QHash< QScriptDeclarativeClass::Identifier, Data * > | IdentifierCache |
typedef QHash< QString, Data * > | StringCache |
Properties | |
QDeclarativeEngine * | engine |
IdentifierCache | identifierCache |
StringCache | stringCache |
Definition at line 67 of file qdeclarativeintegercache_p.h.
|
private |
Definition at line 91 of file qdeclarativeintegercache_p.h.
|
private |
Definition at line 90 of file qdeclarativeintegercache_p.h.
QDeclarativeIntegerCache::QDeclarativeIntegerCache | ( | QDeclarativeEngine * | e | ) |
Definition at line 49 of file qdeclarativeintegercache.cpp.
|
virtual |
Definition at line 54 of file qdeclarativeintegercache.cpp.
void QDeclarativeIntegerCache::add | ( | const QString & | id, |
int | value | ||
) |
Definition at line 77 of file qdeclarativeintegercache.cpp.
Referenced by QDeclarativeCompiler::genContextCache(), and QDeclarativeContext::setContextProperty().
|
protectedvirtual |
Implements QDeclarativeCleanup.
Definition at line 59 of file qdeclarativeintegercache.cpp.
Referenced by ~QDeclarativeIntegerCache().
|
inline |
Definition at line 104 of file qdeclarativeintegercache_p.h.
Referenced by QDeclarativeContextData::setIdPropertyData().
QString QDeclarativeIntegerCache::findId | ( | int | value | ) | const |
Definition at line 67 of file qdeclarativeintegercache.cpp.
Referenced by QDeclarativeContextData::findObjectId().
int QDeclarativeIntegerCache::value | ( | const QString & | id | ) |
Definition at line 90 of file qdeclarativeintegercache.cpp.
Referenced by add(), QDeclarativeContext::contextProperty(), QDeclarativeCompiledBindingsPrivate::findgeneric(), findId(), QDeclarativeContextScriptClass::queryProperty(), and QDeclarativeContext::setContextProperty().
|
inline |
Definition at line 98 of file qdeclarativeintegercache_p.h.
|
private |
Definition at line 95 of file qdeclarativeintegercache_p.h.
|
private |
Definition at line 94 of file qdeclarativeintegercache_p.h.
|
private |