diff options
author | Kai Koehne <kai.koehne@nokia.com> | 2012-02-02 11:18:08 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-10 11:49:38 +0100 |
commit | 9daf11cede6a13fb95f202b2bdee7966a502d3f7 (patch) | |
tree | ae09d426af7edb1e998eeb45f1afb7a644a19800 /src/declarative/debugger/qdeclarativedebugclient_p.h | |
parent | e761f5b906c427433325debb9f08c4f2d0ba902d (diff) |
Debugger: Consistenly use 'state' instead of 'status'
Fix inconsistent naming e.g. in QtDeclarativeEngineDebug by always
using 'state' instead of 'status'. This is in line with the other
source code, which also seems to favor 'state'.
Change-Id: I65a7a3bd0eb7dfffeb37b5f8dad15b0a4a78de70
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
Diffstat (limited to 'src/declarative/debugger/qdeclarativedebugclient_p.h')
-rw-r--r-- | src/declarative/debugger/qdeclarativedebugclient_p.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/debugger/qdeclarativedebugclient_p.h b/src/declarative/debugger/qdeclarativedebugclient_p.h index ff4f88f408..93c5be9e44 100644 --- a/src/declarative/debugger/qdeclarativedebugclient_p.h +++ b/src/declarative/debugger/qdeclarativedebugclient_p.h @@ -104,19 +104,19 @@ class Q_DECLARATIVE_PRIVATE_EXPORT QDeclarativeDebugClient : public QObject Q_DISABLE_COPY(QDeclarativeDebugClient) public: - enum Status { NotConnected, Unavailable, Enabled }; + enum State { NotConnected, Unavailable, Enabled }; QDeclarativeDebugClient(const QString &, QDeclarativeDebugConnection *parent); ~QDeclarativeDebugClient(); QString name() const; float serviceVersion() const; - Status status() const; + State state() const; virtual void sendMessage(const QByteArray &); protected: - virtual void statusChanged(Status); + virtual void stateChanged(State); virtual void messageReceived(const QByteArray &); private: |