From 4cc230ade4df3919fbb9688b60e6e8f7f3cc8144 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Thu, 6 Feb 2014 14:43:26 +0100 Subject: 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 --- src/qml/debugger/qqmldebugservice_p.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/qml/debugger/qqmldebugservice_p.h') 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; -- cgit v1.2.3