From 6e3c6458cad5078c2bde44d73220510dfc8ebfce Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Mon, 22 Jun 2015 18:30:06 +0200 Subject: Smaller cleanups Change-Id: I14eb7e2b4031c8a033740ed1ef34f3b2efdc3649 Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4context_p.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/qml/jsruntime/qv4context_p.h') diff --git a/src/qml/jsruntime/qv4context_p.h b/src/qml/jsruntime/qv4context_p.h index 1e051ed850..2667bbe0b2 100644 --- a/src/qml/jsruntime/qv4context_p.h +++ b/src/qml/jsruntime/qv4context_p.h @@ -38,6 +38,9 @@ QT_BEGIN_NAMESPACE +class QQmlContextData; +class QObject; + namespace QV4 { namespace CompiledData { @@ -218,6 +221,9 @@ struct WithContext : public ExecutionContext struct QmlContext : public ExecutionContext { V4_MANAGED(QmlContext, ExecutionContext) + + QObject *qmlScope() const; + QQmlContextData *qmlContext() const; }; inline CallContext *ExecutionContext::asCallContext() -- cgit v1.2.3