diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2014-03-04 20:48:11 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-05 15:01:07 +0100 |
commit | c8889fbb5561d75a7a383b86daa89c1b264c6f6e (patch) | |
tree | 4393600dc118c8fa9bbd3b518d23ca12d75f67e9 /src/qml/compiler/qqmltypecompiler_p.h | |
parent | e4e4a7912b03499a20f25e261e1c515aab17e5a8 (diff) |
[new compiler] Add support for deferred properties
Change-Id: I592518444ef353cfcf153df0e6afa2fbac613560
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/compiler/qqmltypecompiler_p.h')
-rw-r--r-- | src/qml/compiler/qqmltypecompiler_p.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qml/compiler/qqmltypecompiler_p.h b/src/qml/compiler/qqmltypecompiler_p.h index 405438c0ab..73ca9de8b8 100644 --- a/src/qml/compiler/qqmltypecompiler_p.h +++ b/src/qml/compiler/qqmltypecompiler_p.h @@ -98,6 +98,7 @@ public: QStringRef newStringRef(const QString &string); const QStringList &stringPool() const; void setCustomParserBindings(const QVector<int> &bindings); + void setDeferredBindingsPerObject(const QHash<int, QBitArray> &deferredBindingsPerObject); private: QList<QQmlError> errors; @@ -264,6 +265,9 @@ private: const QHash<int, QHash<int, int> > objectIndexToIdPerComponent; QHash<int, QQmlCompiledData::CustomParserData> *customParserData; QVector<int> customParserBindings; + QHash<int, QBitArray> deferredBindingsPerObject; + + bool _seenObjectWithId; }; // ### merge with QtQml::JSCodeGen and operate directly on object->functionsAndExpressions once old compiler is gone. |