aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/qmldebug/qmltoolsclient.h
diff options
context:
space:
mode:
authorUlf Hermann <[email protected]>2017-09-07 13:17:32 +0200
committerUlf Hermann <[email protected]>2017-09-07 12:58:12 +0000
commit239ed56f4b719179278b1983e635f8ccc32f2eb9 (patch)
treecb5d56e2b23f4387466824ccac7acfcbc168d674 /src/libs/qmldebug/qmltoolsclient.h
parent3ccbaff2da1d59a6143cbbaf27f86bfbcda1cf75 (diff)
QmlDebug: Decouple QmlDebugConnection and QmlDebugClient
The protected methods of QmlDebugClient need to be called by QmlDebugConnection already. We also want to call them directly for testing, so we make them public rather than having QmlDebugConnection be a friend. By using a QPointer, we can avoid resetting the connection on each client when it is deleted. Change-Id: I2c0e3d2b8ec19e9acbc6b8f5623b4c28caae319a Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/libs/qmldebug/qmltoolsclient.h')
-rw-r--r--src/libs/qmldebug/qmltoolsclient.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libs/qmldebug/qmltoolsclient.h b/src/libs/qmldebug/qmltoolsclient.h
index d0a19c784f9..0a3aba6bd4b 100644
--- a/src/libs/qmldebug/qmltoolsclient.h
+++ b/src/libs/qmldebug/qmltoolsclient.h
@@ -44,7 +44,6 @@ public:
// ### Qt 4.8: remove if we can have access to qdeclarativecontextdata or id's
void setObjectIdList(const QList<ObjectReference> &objectRoots) override;
-protected:
void messageReceived(const QByteArray &) override;
private: