aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/qmldebug/qdebugmessageclient.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@digia.com>2014-05-05 16:11:43 +0200
committerUlf Hermann <ulf.hermann@digia.com>2014-05-06 12:53:10 +0200
commite6792d33c374eaff6840f863114733697140525f (patch)
tree367947c898fb04c75b66bf2a9e489a180795e979 /src/libs/qmldebug/qdebugmessageclient.h
parent7018a375c68f09cc62e43dfa9181ef46b6df4653 (diff)
QmlDebugClient: Rename "status" to "state" for consistency
"state" is the more widely used term and we should follow that convention. We also need to distinguish between the state of the underlying network socket and the client itself. The change makes this explicit. As preparation for the upcoming centralized debug support the "State" enum of the debug client is also moved into the QmlDebugClient class. Change-Id: Ib9d7e03d23528f16ed696ed3518e813d11ea1c32 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'src/libs/qmldebug/qdebugmessageclient.h')
-rw-r--r--src/libs/qmldebug/qdebugmessageclient.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/qmldebug/qdebugmessageclient.h b/src/libs/qmldebug/qdebugmessageclient.h
index 9848e5c549..e388fd42a7 100644
--- a/src/libs/qmldebug/qdebugmessageclient.h
+++ b/src/libs/qmldebug/qdebugmessageclient.h
@@ -52,11 +52,11 @@ public:
~QDebugMessageClient();
protected:
- virtual void statusChanged(ClientStatus status);
+ virtual void stateChanged(State state);
virtual void messageReceived(const QByteArray &);
signals:
- void newStatus(QmlDebug::ClientStatus);
+ void newState(QmlDebug::QmlDebugClient::State);
void message(QtMsgType, const QString &,
const QmlDebug::QDebugContextInfo &);