aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmltooling/qmldbg_debugger/qqmlenginedebugservice.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-11-10 14:08:11 +0100
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-11-17 18:42:17 +0000
commit5b091eb79b6853d0fde34b5dea89a84b7514a5ff (patch)
tree028ffc059c85a6a7f304e2b0f43f69aa01ae2701 /src/plugins/qmltooling/qmldbg_debugger/qqmlenginedebugservice.h
parentd3c3f026d376f5d9663cf4258162bc504afc1b28 (diff)
Use QJSEngine instead of QQmlEngine in debug services
This allows us to use the debug infrastructure in a JavaScript-only environment. Also add override declarations to make such changes easier in the future. Change-Id: I171271f0ad3868b3de71a8a2316a24602f94200a Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/plugins/qmltooling/qmldbg_debugger/qqmlenginedebugservice.h')
-rw-r--r--src/plugins/qmltooling/qmldbg_debugger/qqmlenginedebugservice.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/qmltooling/qmldbg_debugger/qqmlenginedebugservice.h b/src/plugins/qmltooling/qmldbg_debugger/qqmlenginedebugservice.h
index 19a4827f89..a12aa495c3 100644
--- a/src/plugins/qmltooling/qmldbg_debugger/qqmlenginedebugservice.h
+++ b/src/plugins/qmltooling/qmldbg_debugger/qqmlenginedebugservice.h
@@ -89,9 +89,9 @@ public:
bool hasNotifySignal;
};
- void engineAboutToBeAdded(QQmlEngine *);
- void engineAboutToBeRemoved(QQmlEngine *);
- void objectCreated(QQmlEngine *, QObject *);
+ void engineAboutToBeAdded(QJSEngine *) Q_DECL_OVERRIDE;
+ void engineAboutToBeRemoved(QJSEngine *) Q_DECL_OVERRIDE;
+ void objectCreated(QJSEngine *, QObject *) Q_DECL_OVERRIDE;
void setStatesDelegate(QQmlDebugStatesDelegate *);
@@ -120,7 +120,7 @@ private:
QList<QObject *> objectForLocationInfo(const QString &filename, int lineNumber,
int columnNumber);
- QList<QQmlEngine *> m_engines;
+ QList<QJSEngine *> m_engines;
QQmlWatcher *m_watch;
QQmlDebugStatesDelegate *m_statesDelegate;
};