diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-10-01 09:04:50 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-08 10:04:38 +0100 |
commit | 4a2f09f14a4b79006e661b6d98c03909c4ba9db1 (patch) | |
tree | c5397277abe70e03849f17f54d834e7983697ff0 /src/qml/qml/qqmlobjectcreator_p.h | |
parent | 4a662c21e669e964f9c3b835a91a38c9decf4ad4 (diff) |
[new compiler] Initial support for custom parsers
Enough to support the Connections {} element. What's missing are pre-compiled
bindings signal handlers.
Change-Id: I3ad1413fa636434d899ae8fb380249aaf40363dc
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlobjectcreator_p.h')
-rw-r--r-- | src/qml/qml/qqmlobjectcreator_p.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlobjectcreator_p.h b/src/qml/qml/qqmlobjectcreator_p.h index 229a7de198..e33e47edcc 100644 --- a/src/qml/qml/qqmlobjectcreator_p.h +++ b/src/qml/qml/qqmlobjectcreator_p.h @@ -122,7 +122,8 @@ public: QQmlPropertyValidator(const QUrl &url, const QV4::CompiledData::QmlUnit *qmlUnit, const QHash<int, QQmlCompiledData::TypeReference> &resolvedTypes, const QList<QQmlPropertyCache *> &propertyCaches, - const QHash<int, QHash<int, int> > &objectIndexToIdPerComponent); + const QHash<int, QHash<int, int> > &objectIndexToIdPerComponent, + QHash<int, QByteArray> *customParserData); bool validate(); @@ -134,6 +135,7 @@ private: const QHash<int, QQmlCompiledData::TypeReference> &resolvedTypes; const QList<QQmlPropertyCache *> &propertyCaches; const QHash<int, QHash<int, int> > objectIndexToIdPerComponent; + QHash<int, QByteArray> *customParserData; }; class QmlObjectCreator : public QQmlCompilePass |