diff options
Diffstat (limited to 'src/qml/compiler/qqmlpropertycachecreator_p.h')
-rw-r--r-- | src/qml/compiler/qqmlpropertycachecreator_p.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qml/compiler/qqmlpropertycachecreator_p.h b/src/qml/compiler/qqmlpropertycachecreator_p.h index 126bdbb017..8dd4b2bc0f 100644 --- a/src/qml/compiler/qqmlpropertycachecreator_p.h +++ b/src/qml/compiler/qqmlpropertycachecreator_p.h @@ -58,12 +58,12 @@ class QQmlPropertyCacheCreator : public QQmlCompilePass { Q_DECLARE_TR_FUNCTIONS(QQmlPropertyCacheCreator) public: - QQmlPropertyCacheCreator(QQmlTypeCompiler *typeCompiler); + QQmlPropertyCacheCreator(QQmlTypeCompiler *typeCompiler, QQmlPropertyCacheVector *propertyCaches); ~QQmlPropertyCacheCreator(); - bool buildMetaObjects(); -protected: + QQmlCompileError buildMetaObjects(); +protected: struct InstantiationContext { InstantiationContext(); InstantiationContext(int referencingObjectIndex, const QV4::CompiledData::Binding *instantiatingBinding, const QString &instantiatingPropertyName, const QQmlPropertyCache *referencingObjectPropertyCache); @@ -81,7 +81,7 @@ protected: const QVector<QmlIR::Object*> &qmlObjects; const QQmlImports *imports; QHash<int, QV4::CompiledData::CompilationUnit::ResolvedTypeReference*> *resolvedTypes; - QQmlPropertyCacheVector propertyCaches; + QQmlPropertyCacheVector *propertyCaches; }; QT_END_NAMESPACE |