aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/debugger/qqmldebugservice_p.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@digia.com>2014-02-06 14:43:26 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-10 14:28:17 +0100
commit4cc230ade4df3919fbb9688b60e6e8f7f3cc8144 (patch)
treea6240d82988ec658d18be30e2ebf19bed2fc272d /src/qml/debugger/qqmldebugservice_p.h
parent77686f3b94dfd572778eb8dfa77717114e3abb93 (diff)
Unify initial waiting of debug services
The debug services generally behave in one of two ways when initializing: Either they block the initializing thread until some configuration is passed over the network or they just go on. By introducing a generalized configurable debug service the various ways of waiting on initialization are cleaned up. The API defined for it also allows for engine-specific initialization. Change-Id: Id5685ef17d2a7eb1222629f7caa5ec53076d47b2 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'src/qml/debugger/qqmldebugservice_p.h')
-rw-r--r--src/qml/debugger/qqmldebugservice_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qml/debugger/qqmldebugservice_p.h b/src/qml/debugger/qqmldebugservice_p.h
index fd2a8c361a..5208b2dfa8 100644
--- a/src/qml/debugger/qqmldebugservice_p.h
+++ b/src/qml/debugger/qqmldebugservice_p.h
@@ -109,6 +109,10 @@ protected:
virtual void engineAdded(QQmlEngine *);
virtual void engineRemoved(QQmlEngine *);
+signals:
+ void attachedToEngine(QQmlEngine *);
+ void detachedFromEngine(QQmlEngine *);
+
private:
friend class QQmlDebugServer;
friend class QQmlDebugServerPrivate;