aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/debugger/qdeclarativedebugservice_p.h
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2012-02-02 11:18:08 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-10 11:49:38 +0100
commit9daf11cede6a13fb95f202b2bdee7966a502d3f7 (patch)
treeae09d426af7edb1e998eeb45f1afb7a644a19800 /src/declarative/debugger/qdeclarativedebugservice_p.h
parente761f5b906c427433325debb9f08c4f2d0ba902d (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/qdeclarativedebugservice_p.h')
-rw-r--r--src/declarative/debugger/qdeclarativedebugservice_p.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/declarative/debugger/qdeclarativedebugservice_p.h b/src/declarative/debugger/qdeclarativedebugservice_p.h
index 7cce2ba86b..203e27ad09 100644
--- a/src/declarative/debugger/qdeclarativedebugservice_p.h
+++ b/src/declarative/debugger/qdeclarativedebugservice_p.h
@@ -76,8 +76,8 @@ public:
QString name() const;
float version() const;
- enum Status { NotConnected, Unavailable, Enabled };
- Status status() const;
+ enum State { NotConnected, Unavailable, Enabled };
+ State state() const;
void sendMessage(const QByteArray &);
void sendMessages(const QList<QByteArray> &);
@@ -94,10 +94,10 @@ public:
protected:
QDeclarativeDebugService(QDeclarativeDebugServicePrivate &dd, const QString &name, float version, QObject *parent = 0);
- Status registerService();
+ State registerService();
- virtual void statusAboutToBeChanged(Status);
- virtual void statusChanged(Status);
+ virtual void stateAboutToBeChanged(State);
+ virtual void stateChanged(State);
virtual void messageReceived(const QByteArray &);
private: