aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/debugger/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/debugger/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp')
-rw-r--r--tests/auto/declarative/debugger/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/declarative/debugger/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp b/tests/auto/declarative/debugger/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp
index 03aeef165b..7d57c8eda2 100644
--- a/tests/auto/declarative/debugger/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp
+++ b/tests/auto/declarative/debugger/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp
@@ -293,7 +293,7 @@ public:
protected:
//inherited from QDeclarativeDebugClient
- void statusChanged(Status status);
+ void stateChanged(State state);
void messageReceived(const QByteArray &data);
signals:
@@ -879,9 +879,9 @@ void QJSDebugClient::listBreakpoints()
sendMessage(packMessage(V8REQUEST, json.toString().toUtf8()));
}
-void QJSDebugClient::statusChanged(Status status)
+void QJSDebugClient::stateChanged(State state)
{
- if (status == Enabled) {
+ if (state == Enabled) {
flushSendBuffer();
emit enabled();
}
@@ -957,7 +957,7 @@ void QJSDebugClient::messageReceived(const QByteArray &data)
void QJSDebugClient::sendMessage(const QByteArray &msg)
{
- if (status() == Enabled) {
+ if (state() == Enabled) {
QDeclarativeDebugClient::sendMessage(msg);
} else {
sendBuffer.append(msg);