Qt 4.8
|
#include <qdeclarativecontext_p.h>
Classes | |
struct | ContextGuard |
Public Functions | |
void | addImportedScript (const QDeclarativeParser::Object::ScriptBlock &script) |
void | addObject (QObject *) |
QDeclarativeContext * | asQDeclarativeContext () |
QDeclarativeContextPrivate * | asQDeclarativeContextPrivate () |
void | clearContext () |
void | destroy () |
QString | findObjectId (const QObject *obj) const |
void | invalidate () |
bool | isValid () const |
QDeclarativeContextData () | |
QDeclarativeContextData (QDeclarativeContext *) | |
void | refreshExpressions () |
QUrl | resolvedUrl (const QUrl &) |
void | setIdProperty (int, QObject *) |
void | setIdPropertyData (QDeclarativeIntegerCache *) |
void | setParent (QDeclarativeContextData *) |
Static Public Functions | |
static QDeclarativeContextData * | get (QDeclarativeContext *context) |
Private Functions | |
~QDeclarativeContextData () | |
Definition at line 110 of file qdeclarativecontext_p.h.
QDeclarativeContextData::QDeclarativeContextData | ( | ) |
Definition at line 503 of file qdeclarativecontext.cpp.
QDeclarativeContextData::QDeclarativeContextData | ( | QDeclarativeContext * | ctxt | ) |
Definition at line 511 of file qdeclarativecontext.cpp.
|
inlineprivate |
Definition at line 208 of file qdeclarativecontext_p.h.
void QDeclarativeContextData::addImportedScript | ( | const QDeclarativeParser::Object::ScriptBlock & | script | ) |
Definition at line 668 of file qdeclarativecontext.cpp.
void QDeclarativeContextData::addObject | ( | QObject * | o | ) |
Definition at line 652 of file qdeclarativecontext.cpp.
Referenced by QDeclarativeVME::run(), and QDeclarativeEngine::setContextForObject().
QDeclarativeContext * QDeclarativeContextData::asQDeclarativeContext | ( | ) |
Definition at line 765 of file qdeclarativecontext.cpp.
Referenced by QDeclarativeVMEMetaObject::aliasTarget(), asQDeclarativeContextPrivate(), QDeclarativeEngineDebugService::buildObjectList(), QDeclarativeVMEMetaObject::connectAlias(), QDeclarativeExpression::context(), QDeclarativeEngine::contextForObject(), QDeclarativeEnginePrivate::createQmlObject(), QDeclarativeCompiledBindingsPrivate::findgeneric(), QDeclarativeVMEMetaObject::metaCall(), and QDeclarativeContextScriptClass::property().
QDeclarativeContextPrivate * QDeclarativeContextData::asQDeclarativeContextPrivate | ( | ) |
Definition at line 772 of file qdeclarativecontext.cpp.
Referenced by QDeclarativeComponentPrivate::begin(), QDeclarativeCompiledBindingsPrivate::findgeneric(), and QDeclarativeContextScriptClass::property().
void QDeclarativeContextData::clearContext | ( | ) |
Definition at line 546 of file qdeclarativecontext.cpp.
Referenced by destroy(), and QDeclarativeVisualDataModel::release().
void QDeclarativeContextData::destroy | ( | ) |
Definition at line 574 of file qdeclarativecontext.cpp.
Referenced by destroy(), and QDeclarativePrivate::qdeclarativeelement_destructor().
Definition at line 750 of file qdeclarativecontext.cpp.
Referenced by findObjectId(), and QDeclarativeEngineDebugService::objectData().
|
inlinestatic |
Definition at line 203 of file qdeclarativecontext_p.h.
Referenced by QDeclarativeComponent::beginCreate(), QDeclarativeEngineDebugService::buildObjectList(), QDeclarativeEngineDebugService::buildStatesList(), QDeclarativeBinding::createBinding(), QDeclarativeEngineDebugService::objectData(), QDeclarativeContext::QDeclarativeContext(), QDeclarativeExpression::QDeclarativeExpression(), QDeclarativeProperty::QDeclarativeProperty(), QDeclarativeEngine::setContextForObject(), and QDeclarativeEngineDebugService::setMethodBody().
void QDeclarativeContextData::invalidate | ( | ) |
Definition at line 519 of file qdeclarativecontext.cpp.
Referenced by destroy(), and invalidate().
|
inline |
Definition at line 119 of file qdeclarativecontext_p.h.
Referenced by QDeclarativeComponentPrivate::beginCreate(), and QDeclarativeCompiledBindingsPrivate::run().
void QDeclarativeContextData::refreshExpressions | ( | ) |
Definition at line 637 of file qdeclarativecontext.cpp.
Referenced by refreshExpressions(), and QDeclarativeContext::setContextProperty().
Definition at line 419 of file qdeclarativecontext.cpp.
Referenced by QDeclarativeEnginePrivate::createQmlObject(), QDeclarativeScriptEngine::resolvedUrl(), and QDeclarativePropertyPrivate::write().
void QDeclarativeContextData::setIdProperty | ( | int | idx, |
QObject * | obj | ||
) |
Definition at line 734 of file qdeclarativecontext.cpp.
Referenced by QDeclarativeVME::run().
void QDeclarativeContextData::setIdPropertyData | ( | QDeclarativeIntegerCache * | data | ) |
Definition at line 740 of file qdeclarativecontext.cpp.
Referenced by QDeclarativeVME::run().
void QDeclarativeContextData::setParent | ( | QDeclarativeContextData * | p | ) |
Definition at line 620 of file qdeclarativecontext.cpp.
Referenced by QDeclarativeComponentPrivate::begin().
QDeclarativeContextData* QDeclarativeContextData::childContexts |
Definition at line 158 of file qdeclarativecontext_p.h.
Referenced by QDeclarativeEngineDebugService::buildObjectList(), QDeclarativeEngineDebugService::buildStatesList(), invalidate(), refreshExpressions(), and setParent().
QDeclarativeComponentAttached* QDeclarativeContextData::componentAttached |
Definition at line 198 of file qdeclarativecontext_p.h.
Referenced by clearContext(), QDeclarativeComponentPrivate::complete(), invalidate(), and QDeclarativeComponent::qmlAttachedProperties().
QDeclarativeGuardedContextData* QDeclarativeContextData::contextGuards |
Definition at line 171 of file qdeclarativecontext_p.h.
Referenced by destroy(), and QDeclarativeGuardedContextData::setContextData().
QObject* QDeclarativeContextData::contextObject |
Definition at line 145 of file qdeclarativecontext_p.h.
Referenced by QDeclarativeContext::contextProperty(), QDeclarativeCompiledBindingsPrivate::findgeneric(), QDeclarativeContextScriptClass::queryProperty(), QDeclarativeVME::run(), QDeclarativeCompiledBindingsPrivate::run(), and QDeclarativeContext::setContextObject().
QDeclarativeData* QDeclarativeContextData::contextObjects |
Definition at line 168 of file qdeclarativecontext_p.h.
Referenced by addObject(), destroy(), and QDeclarativeVME::run().
QDeclarativeEngine* QDeclarativeContextData::engine |
Definition at line 125 of file qdeclarativecontext_p.h.
Referenced by addImportedScript(), QDeclarativeComponentPrivate::begin(), QDeclarativeComponentPrivate::beginCreate(), clearContext(), QDeclarativeContext::contextProperty(), QDeclarativeBinding::createBinding(), destroy(), QDeclarativeExpressionPrivate::evalInObjectScope(), QDeclarativeCompiledBindingsPrivate::findgeneric(), QDeclarativeExpressionPrivate::init(), invalidate(), QDeclarativeVMEMetaObject::metaCall(), qmlExecuteDeferred(), QDeclarativeVMEMetaObject::readVarProperty(), QDeclarativeVMEMetaObject::readVarPropertyAsVariant(), QDeclarativePropertyPrivate::restore(), QDeclarativeVME::run(), QDeclarativeCompiledBindingsPrivate::run(), QDeclarativeContext::setContextProperty(), setParent(), and throwException().
QDeclarativeAbstractExpression* QDeclarativeContextData::expressions |
Definition at line 165 of file qdeclarativecontext_p.h.
Referenced by clearContext(), refreshExpressions(), and QDeclarativeAbstractExpression::setContext().
int QDeclarativeContextData::idValueCount |
Definition at line 186 of file qdeclarativecontext_p.h.
Referenced by findObjectId(), QDeclarativeContext::setContextProperty(), and setIdPropertyData().
ContextGuard* QDeclarativeContextData::idValues |
Definition at line 185 of file qdeclarativecontext_p.h.
Referenced by QDeclarativeVMEMetaObject::aliasTarget(), QDeclarativeVMEMetaObject::connectAlias(), QDeclarativeContext::contextProperty(), destroy(), QDeclarativeCompiledBindingsPrivate::findgeneric(), findObjectId(), QDeclarativeVMEMetaObject::metaCall(), QDeclarativeContextScriptClass::property(), QDeclarativeCompiledBindingsPrivate::run(), setIdProperty(), setIdPropertyData(), and QDeclarativeCompiledBindingsPrivate::subscribeId().
QList<QScriptValue> QDeclarativeContextData::importedScripts |
Definition at line 148 of file qdeclarativecontext_p.h.
Referenced by addImportedScript(), QDeclarativeComponentPrivate::begin(), and QDeclarativeContextScriptClass::property().
QDeclarativeTypeNameCache* QDeclarativeContextData::imports |
Definition at line 155 of file qdeclarativecontext_p.h.
Referenced by QDeclarativeComponentPrivate::begin(), destroy(), QDeclarativeContextScriptClass::queryProperty(), and QDeclarativeObjectScriptClass::queryProperty().
bool QDeclarativeContextData::isInternal |
Definition at line 138 of file qdeclarativecontext_p.h.
Referenced by QDeclarativeComponentPrivate::begin(), destroy(), QDeclarativeContext::setContextObject(), and QDeclarativeContext::setContextProperty().
QDeclarativeContextData* QDeclarativeContextData::linkedContext |
Definition at line 194 of file qdeclarativecontext_p.h.
Referenced by destroy(), findObjectId(), and QDeclarativeVME::run().
QDeclarativeContextData* QDeclarativeContextData::nextChild |
Definition at line 161 of file qdeclarativecontext_p.h.
Referenced by QDeclarativeEngineDebugService::buildObjectList(), invalidate(), refreshExpressions(), and setParent().
QDeclarativeCompiledBindings* QDeclarativeContextData::optimizedBindings |
Definition at line 191 of file qdeclarativecontext_p.h.
Referenced by destroy(), and QDeclarativeVME::run().
QDeclarativeContextData* QDeclarativeContextData::parent |
Definition at line 124 of file qdeclarativecontext_p.h.
Referenced by QDeclarativeContext::baseUrl(), QDeclarativeCompiledBindingsPrivate::findgeneric(), invalidate(), QDeclarativeContextScriptClass::queryProperty(), resolvedUrl(), QDeclarativeCompiledBindingsPrivate::run(), and setParent().
QDeclarativeContextData** QDeclarativeContextData::prevChild |
Definition at line 162 of file qdeclarativecontext_p.h.
Referenced by invalidate(), and setParent().
QDeclarativeIntegerCache* QDeclarativeContextData::propertyNames |
Definition at line 142 of file qdeclarativecontext_p.h.
Referenced by QDeclarativeContext::contextProperty(), destroy(), QDeclarativeCompiledBindingsPrivate::findgeneric(), findObjectId(), QDeclarativeContextScriptClass::queryProperty(), QDeclarativeContext::setContextProperty(), and setIdPropertyData().
QDeclarativeContext* QDeclarativeContextData::publicContext |
Definition at line 139 of file qdeclarativecontext_p.h.
Referenced by asQDeclarativeContext(), and destroy().
QUrl QDeclarativeContextData::url |
Definition at line 152 of file qdeclarativecontext_p.h.
Referenced by addImportedScript(), QDeclarativeContext::baseUrl(), QDeclarativeComponentPrivate::begin(), QDeclarativeConnections::connectSignals(), QDeclarativeBinding::createBinding(), QDeclarativeVMEMetaObject::method(), QDeclarativeEngineDebugService::objectData(), qmlExecuteDeferred(), resolvedUrl(), QDeclarativeEngineDebugService::setMethodBody(), throwException(), toUrl(), and QDeclarativeInfo::~QDeclarativeInfo().