aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/debugger/qqmldebugserviceinterfaces_p.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/qml/debugger/qqmldebugserviceinterfaces_p.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/qml/debugger/qqmldebugserviceinterfaces_p.h')
-rw-r--r--src/qml/debugger/qqmldebugserviceinterfaces_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/debugger/qqmldebugserviceinterfaces_p.h b/src/qml/debugger/qqmldebugserviceinterfaces_p.h
index a2193b5c59..59712ee8ea 100644
--- a/src/qml/debugger/qqmldebugserviceinterfaces_p.h
+++ b/src/qml/debugger/qqmldebugserviceinterfaces_p.h
@@ -80,9 +80,9 @@ public:
virtual void addGlobalProfiler(QQmlAbstractProfilerAdapter *profiler) = 0;
virtual void removeGlobalProfiler(QQmlAbstractProfilerAdapter *profiler) = 0;
- virtual void startProfiling(QQmlEngine *engine,
+ virtual void startProfiling(QJSEngine *engine,
quint64 features = std::numeric_limits<quint64>::max()) = 0;
- virtual void stopProfiling(QQmlEngine *engine) = 0;
+ virtual void stopProfiling(QJSEngine *engine) = 0;
virtual void dataReady(QQmlAbstractProfilerAdapter *profiler) = 0;
@@ -99,7 +99,7 @@ class Q_QML_PRIVATE_EXPORT QQmlEngineDebugService : protected QQmlDebugService
public:
static const QString s_key;
- virtual void objectCreated(QQmlEngine *engine, QObject *object) = 0;
+ virtual void objectCreated(QJSEngine *engine, QObject *object) = 0;
virtual void setStatesDelegate(QQmlDebugStatesDelegate *) = 0;
protected: