diff options
author | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2016-05-29 19:21:54 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2016-05-31 14:28:29 +0000 |
commit | 2bb309af8b2e32bd34644bed363f5880c50221af (patch) | |
tree | fe0ddd6d65840d733315c5e97c0e61a8949843c4 /src/qml/qml/qqmlcompiler_p.h | |
parent | 7e84a8631cca6f81428ae4b2621e6858a8de9357 (diff) |
Moved resolved type references over to QV4::CompiledData::CompilationUnit
Change-Id: I99bb37bf4d4aa4aedd8e02a0fb4afb4a908573a6
Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlcompiler_p.h')
-rw-r--r-- | src/qml/qml/qqmlcompiler_p.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/qml/qml/qqmlcompiler_p.h b/src/qml/qml/qqmlcompiler_p.h index 2c9e04d5e0..39fa84df3d 100644 --- a/src/qml/qml/qqmlcompiler_p.h +++ b/src/qml/qml/qqmlcompiler_p.h @@ -93,33 +93,6 @@ public: int listMetaTypeId; bool isRegisteredWithEngine; - struct TypeReference - { - TypeReference() - : type(0), typePropertyCache(0), component(0) - , majorVersion(0) - , minorVersion(0) - , isFullyDynamicType(false) - {} - - QQmlType *type; - QQmlPropertyCache *typePropertyCache; - QQmlCompiledData *component; - - int majorVersion; - int minorVersion; - // Types such as QQmlPropertyMap can add properties dynamically at run-time and - // therefore cannot have a property cache installed when instantiated. - bool isFullyDynamicType; - - QQmlPropertyCache *propertyCache() const; - QQmlPropertyCache *createPropertyCache(QQmlEngine *); - - void doDynamicTypeCheck(); - }; - // map from name index - QHash<int, TypeReference*> resolvedTypes; - QQmlRefPointer<QV4::CompiledData::CompilationUnit> compilationUnit; bool isInitialized() const { return hasEngine(); } |