aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qqmltypecompiler_p.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2014-03-02 22:28:25 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-03 10:08:49 +0100
commit5ca26a1c6166af2750fdf3c1333f1d7b389e8b85 (patch)
tree88f9b6ab83333dca889c61801cad464bf209e5f7 /src/qml/compiler/qqmltypecompiler_p.h
parent8048d8215ca61c38f1263b93cd41b04e2c66165d (diff)
[new compiler] Set class name for QML types correctly
As required by the tst_qqmlinfo tests. Change-Id: Id163c9dab539e7fd1e1da43c4fa0dfb0d1fb6e34 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/compiler/qqmltypecompiler_p.h b/src/qml/compiler/qqmltypecompiler_p.h
index 775b1f6127..0f32f63b21 100644
--- a/src/qml/compiler/qqmltypecompiler_p.h
+++ b/src/qml/compiler/qqmltypecompiler_p.h
@@ -81,6 +81,7 @@ public:
const QV4::CompiledData::QmlUnit *qmlUnit() const;
+ QUrl url() const { return compiledData->url; }
QQmlEnginePrivate *enginePrivate() const { return engine; }
const QQmlImports *imports() const;
QHash<int, QQmlCompiledData::TypeReference *> *resolvedTypes();