summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/debugger/shared
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/debugger/shared')
-rw-r--r--tests/auto/declarative/debugger/shared/debugutil.cpp10
-rw-r--r--tests/auto/declarative/debugger/shared/debugutil_p.h8
2 files changed, 9 insertions, 9 deletions
diff --git a/tests/auto/declarative/debugger/shared/debugutil.cpp b/tests/auto/declarative/debugger/shared/debugutil.cpp
index 14bf68285d..fcac1bc61d 100644
--- a/tests/auto/declarative/debugger/shared/debugutil.cpp
+++ b/tests/auto/declarative/debugger/shared/debugutil.cpp
@@ -69,9 +69,9 @@ void QDeclarativeDebugTestService::messageReceived(const QByteArray &ba)
sendMessage(ba);
}
-void QDeclarativeDebugTestService::statusChanged(Status)
+void QDeclarativeDebugTestService::stateChanged(State)
{
- emit statusHasChanged();
+ emit stateHasChanged();
}
@@ -91,10 +91,10 @@ QByteArray QDeclarativeDebugTestClient::waitForResponse()
return lastMsg;
}
-void QDeclarativeDebugTestClient::statusChanged(Status stat)
+void QDeclarativeDebugTestClient::stateChanged(State stat)
{
- QCOMPARE(stat, status());
- emit statusHasChanged();
+ QCOMPARE(stat, state());
+ emit stateHasChanged();
}
void QDeclarativeDebugTestClient::messageReceived(const QByteArray &ba)
diff --git a/tests/auto/declarative/debugger/shared/debugutil_p.h b/tests/auto/declarative/debugger/shared/debugutil_p.h
index aecd656a07..520cb11a5a 100644
--- a/tests/auto/declarative/debugger/shared/debugutil_p.h
+++ b/tests/auto/declarative/debugger/shared/debugutil_p.h
@@ -67,11 +67,11 @@ public:
QDeclarativeDebugTestService(const QString &s, float version = 1, QObject *parent = 0);
signals:
- void statusHasChanged();
+ void stateHasChanged();
protected:
virtual void messageReceived(const QByteArray &ba);
- virtual void statusChanged(Status status);
+ virtual void stateChanged(State state);
};
class QDeclarativeDebugTestClient : public QDeclarativeDebugClient
@@ -83,11 +83,11 @@ public:
QByteArray waitForResponse();
signals:
- void statusHasChanged();
+ void stateHasChanged();
void serverMessage(const QByteArray &);
protected:
- virtual void statusChanged(Status status);
+ virtual void stateChanged(State state);
virtual void messageReceived(const QByteArray &ba);
private: