#include <qdeclarativetypenamecache_p.h>
◆ IdentifierCache
◆ StringCache
◆ QDeclarativeTypeNameCache()
◆ ~QDeclarativeTypeNameCache()
QDeclarativeTypeNameCache::~QDeclarativeTypeNameCache |
( |
| ) |
|
|
virtual |
◆ add() [1/3]
void QDeclarativeTypeNameCache::add |
( |
const QString & |
name, |
|
|
int |
importedScriptIndex |
|
) |
| |
Definition at line 66 of file qdeclarativetypenamecache.cpp.
Referenced by cacheForNamespace(), QDeclarativeCompiler::compileTree(), and QDeclarativeImports::populateCache().
73 RData *
data =
new RData;
76 data->importedScriptIndex = importedScriptIndex;
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.
PersistentIdentifier createPersistentIdentifier(const QString &)
iterator insert(const Key &key, const T &value)
Inserts a new item with the key and a value of value.
QDeclarativeObjectScriptClass * objectClass
QDeclarativeEngine * engine
Data * data(const QString &) const
IdentifierCache identifierCache
◆ add() [2/3]
Definition at line 81 of file qdeclarativetypenamecache.cpp.
88 RData *
data =
new RData;
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.
PersistentIdentifier createPersistentIdentifier(const QString &)
iterator insert(const Key &key, const T &value)
Inserts a new item with the key and a value of value.
QDeclarativeObjectScriptClass * objectClass
QDeclarativeEngine * engine
Data * data(const QString &) const
IdentifierCache identifierCache
◆ add() [3/3]
Definition at line 96 of file qdeclarativetypenamecache.cpp.
103 RData *
data =
new RData;
106 data->typeNamespace = typeNamespace;
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.
PersistentIdentifier createPersistentIdentifier(const QString &)
iterator insert(const Key &key, const T &value)
Inserts a new item with the key and a value of value.
QDeclarativeObjectScriptClass * objectClass
QDeclarativeEngine * engine
Data * data(const QString &) const
IdentifierCache identifierCache
◆ clear()
void QDeclarativeTypeNameCache::clear |
( |
| ) |
|
|
protectedvirtual |
◆ data() [1/2]
◆ data() [2/2]
◆ engine
◆ identifierCache
◆ stringCache
The documentation for this class was generated from the following files: