aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmltooling/qmldbg_native/qqmlnativedebugconnector.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_native/qqmlnativedebugconnector.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_native/qqmlnativedebugconnector.h')
-rw-r--r--src/plugins/qmltooling/qmldbg_native/qqmlnativedebugconnector.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/plugins/qmltooling/qmldbg_native/qqmlnativedebugconnector.h b/src/plugins/qmltooling/qmldbg_native/qqmlnativedebugconnector.h
index d071d54368..a883608fd4 100644
--- a/src/plugins/qmltooling/qmldbg_native/qqmlnativedebugconnector.h
+++ b/src/plugins/qmltooling/qmldbg_native/qqmlnativedebugconnector.h
@@ -45,15 +45,15 @@ class QQmlNativeDebugConnector : public QQmlDebugConnector
public:
QQmlNativeDebugConnector();
- ~QQmlNativeDebugConnector();
+ ~QQmlNativeDebugConnector() Q_DECL_OVERRIDE;
- bool blockingMode() const;
- QQmlDebugService *service(const QString &name) const;
- void addEngine(QQmlEngine *engine);
- void removeEngine(QQmlEngine *engine);
- bool addService(const QString &name, QQmlDebugService *service);
- bool removeService(const QString &name);
- bool open(const QVariantHash &configuration);
+ bool blockingMode() const Q_DECL_OVERRIDE;
+ QQmlDebugService *service(const QString &name) const Q_DECL_OVERRIDE;
+ void addEngine(QJSEngine *engine) Q_DECL_OVERRIDE;
+ void removeEngine(QJSEngine *engine) Q_DECL_OVERRIDE;
+ bool addService(const QString &name, QQmlDebugService *service) Q_DECL_OVERRIDE;
+ bool removeService(const QString &name) Q_DECL_OVERRIDE;
+ bool open(const QVariantHash &configuration) Q_DECL_OVERRIDE;
static void setDataStreamVersion(int version);
private slots: