Qt 4.8
|
#include <qdeclarativepropertycache_p.h>
Classes | |
struct | Data |
struct | RData |
struct | ValueTypeData |
Static Public Functions | |
static Data | create (const QMetaObject *, const QString &) |
static Data * | property (QDeclarativeEngine *, QObject *, const QScriptDeclarativeClass::Identifier &, Data &) |
static Data * | property (QDeclarativeEngine *, QObject *, const QString &, Data &) |
Protected Functions | |
virtual void | clear () |
Private Types | |
typedef QVector< int > | AllowedRevisionCache |
typedef QHash< QScriptDeclarativeClass::Identifier, RData * > | IdentifierCache |
typedef QVector< RData * > | IndexCache |
typedef QHash< QString, RData * > | StringCache |
Private Functions | |
void | updateRecur (QDeclarativeEngine *, const QMetaObject *) |
Properties | |
AllowedRevisionCache | allowedRevisionCache |
QDeclarativeEngine * | engine |
IdentifierCache | identifierCache |
IndexCache | indexCache |
IndexCache | methodIndexCache |
StringCache | stringCache |
Friends | |
class | QDeclarativeEnginePrivate |
Definition at line 68 of file qdeclarativepropertycache_p.h.
|
private |
Definition at line 169 of file qdeclarativepropertycache_p.h.
|
private |
Definition at line 168 of file qdeclarativepropertycache_p.h.
|
private |
Definition at line 166 of file qdeclarativepropertycache_p.h.
|
private |
Definition at line 167 of file qdeclarativepropertycache_p.h.
QDeclarativePropertyCache::QDeclarativePropertyCache | ( | QDeclarativeEngine * | e | ) |
Creates a new empty QDeclarativePropertyCache.
Definition at line 117 of file qdeclarativepropertycache.cpp.
Referenced by copy().
QDeclarativePropertyCache::QDeclarativePropertyCache | ( | QDeclarativeEngine * | e, |
const QMetaObject * | metaObject | ||
) |
Creates a new QDeclarativePropertyCache of metaObject.
Definition at line 126 of file qdeclarativepropertycache.cpp.
|
virtual |
Definition at line 135 of file qdeclarativepropertycache.cpp.
void QDeclarativePropertyCache::append | ( | QDeclarativeEngine * | engine, |
const QMetaObject * | metaObject, | ||
Data::Flag | propertyFlags = Data::NoFlags , |
||
Data::Flag | methodFlags = Data::NoFlags , |
||
Data::Flag | signalFlags = Data::NoFlags |
||
) |
Definition at line 237 of file qdeclarativepropertycache.cpp.
Referenced by QDeclarativeCompiler::buildDynamicMeta(), QDeclarativeEnginePrivate::createCache(), and updateRecur().
void QDeclarativePropertyCache::append | ( | QDeclarativeEngine * | engine, |
const QMetaObject * | metaObject, | ||
int | revision, | ||
Data::Flag | propertyFlags = Data::NoFlags , |
||
Data::Flag | methodFlags = Data::NoFlags , |
||
Data::Flag | signalFlags = Data::NoFlags |
||
) |
Definition at line 243 of file qdeclarativepropertycache.cpp.
|
protectedvirtual |
Implements QDeclarativeCleanup.
Definition at line 140 of file qdeclarativepropertycache.cpp.
Referenced by update(), and ~QDeclarativePropertyCache().
QDeclarativePropertyCache * QDeclarativePropertyCache::copy | ( | ) | const |
Definition at line 214 of file qdeclarativepropertycache.cpp.
Referenced by QDeclarativeEnginePrivate::createCache().
|
static |
Definition at line 169 of file qdeclarativepropertycache.cpp.
Referenced by property().
|
inline |
Definition at line 227 of file qdeclarativepropertycache_p.h.
Referenced by QDeclarativeEnginePrivate::createCache(), QDeclarativeCompiler::indexOfProperty(), QDeclarativeCompiler::indexOfSignal(), and QDeclarativeObjectScriptClass::queryProperty().
QDeclarativePropertyCache::Data * QDeclarativePropertyCache::method | ( | int | index | ) | const |
Definition at line 365 of file qdeclarativepropertycache.cpp.
Referenced by flush_vme_signal(), and QDeclarativeObjectMethodScriptClass::relatedMethod().
|
inline |
Definition at line 198 of file qdeclarativepropertycache_p.h.
Referenced by QDeclarativeCompiler::indexOfProperty(), and QDeclarativeCompiler::indexOfSignal().
|
inline |
Definition at line 210 of file qdeclarativepropertycache_p.h.
Referenced by QDeclarativePropertyPrivate::binding(), QDeclarativeCompiler::buildProperty(), QDeclarativeContext::contextProperty(), QDeclarativePropertyPrivate::findAliasTarget(), QDeclarativeCompiledBindingsPrivate::findproperty(), QDeclarativeCompiler::genObject(), QDeclarativeCompiler::indexOfProperty(), QDeclarativeCompiler::indexOfSignal(), QDeclarativePropertyPrivate::initProperty(), property(), QDeclarativeListReference::QDeclarativeListReference(), QDeclarativeObjectScriptClass::queryProperty(), QDeclarativePropertyPrivate::setBinding(), QDeclarativePropertyPrivate::setBindingNoEnable(), QDeclarativeEngineDebugService::setMethodBody(), and QDeclarativeVisualDataModel::stringValue().
QDeclarativePropertyCache::Data * QDeclarativePropertyCache::property | ( | const QString & | str | ) | const |
Definition at line 374 of file qdeclarativepropertycache.cpp.
QDeclarativePropertyCache::Data * QDeclarativePropertyCache::property | ( | int | index | ) | const |
Definition at line 356 of file qdeclarativepropertycache.cpp.
|
static |
Definition at line 411 of file qdeclarativepropertycache.cpp.
|
static |
Definition at line 438 of file qdeclarativepropertycache.cpp.
QStringList QDeclarativePropertyCache::propertyNames | ( | ) | const |
Definition at line 406 of file qdeclarativepropertycache.cpp.
Referenced by QDeclarativeObjectScriptClass::propertyNames().
|
inline |
Definition at line 233 of file qdeclarativepropertycache_p.h.
Referenced by property().
void QDeclarativePropertyCache::update | ( | QDeclarativeEngine * | engine, |
const QMetaObject * | metaObject | ||
) |
Definition at line 341 of file qdeclarativepropertycache.cpp.
Referenced by QDeclarativeOpenMetaObjectType::createProperty(), and QDeclarativePropertyCache().
|
private |
Definition at line 331 of file qdeclarativepropertycache.cpp.
Referenced by update().
|
friend |
Definition at line 160 of file qdeclarativepropertycache_p.h.
|
private |
Definition at line 178 of file qdeclarativepropertycache_p.h.
Referenced by append(), copy(), QDeclarativeEnginePrivate::createCache(), and isAllowedInRevision().
|
private |
Definition at line 173 of file qdeclarativepropertycache_p.h.
Referenced by copy(), property(), QDeclarativePropertyCache(), and qmlEngine().
|
private |
Definition at line 177 of file qdeclarativepropertycache_p.h.
Referenced by append(), clear(), copy(), and property().
|
private |
Definition at line 174 of file qdeclarativepropertycache_p.h.
Referenced by append(), clear(), copy(), overrideData(), property(), and update().
|
private |
Definition at line 175 of file qdeclarativepropertycache_p.h.
Referenced by append(), clear(), copy(), method(), overrideData(), and update().
|
private |
Definition at line 176 of file qdeclarativepropertycache_p.h.
Referenced by append(), clear(), copy(), QDeclarativeEnginePrivate::createCache(), property(), and propertyNames().