summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/debugger
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2009-11-11 01:10:14 (GMT)
committerBea Lam <bea.lam@nokia.com>2009-11-11 01:10:14 (GMT)
commitc44c19cb16e06625f5ee71493190ad4276e4d8ef (patch)
tree06f9a06ba273189dddcce79fa98623d71b86c512 /tests/auto/declarative/debugger
parent9c19362c726d1d80bc38bb07b43eb3439ed05a8b (diff)
downloadQt-c44c19cb16e06625f5ee71493190ad4276e4d8ef.zip
Qt-c44c19cb16e06625f5ee71493190ad4276e4d8ef.tar.gz
Qt-c44c19cb16e06625f5ee71493190ad4276e4d8ef.tar.bz2
Change stateChanged(State) signatures to have (QmlDebugWatch::State)
and (QmlDebugQuery::State) parameters.
Diffstat (limited to 'tests/auto/declarative/debugger')
-rw-r--r--tests/auto/declarative/debugger/qmldebug/tst_qmldebug.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/declarative/debugger/qmldebug/tst_qmldebug.cpp b/tests/auto/declarative/debugger/qmldebug/tst_qmldebug.cpp
index d2305f8..03c9c69 100644
--- a/tests/auto/declarative/debugger/qmldebug/tst_qmldebug.cpp
+++ b/tests/auto/declarative/debugger/qmldebug/tst_qmldebug.cpp
@@ -156,7 +156,7 @@ void tst_QmlDebug::waitForQuery(QmlDebugQuery *query)
QVERIFY(query);
QCOMPARE(query->parent(), this);
QVERIFY(query->state() == QmlDebugQuery::Waiting);
- if (!QmlDebuggerTest::waitForSignal(query, SIGNAL(stateChanged(State))))
+ if (!QmlDebuggerTest::waitForSignal(query, SIGNAL(stateChanged(QmlDebugWatch::State))))
QFAIL("query timed out");
}
@@ -276,7 +276,7 @@ void tst_QmlDebug::watch_property()
m_rootItem->setProperty("width", origWidth*2);
// stateChanged() is received before valueChanged()
- QVERIFY(QmlDebuggerTest::waitForSignal(watch, SIGNAL(stateChanged(State))));
+ QVERIFY(QmlDebuggerTest::waitForSignal(watch, SIGNAL(stateChanged(QmlDebugWatch::State))));
QCOMPARE(spy.count(), 1);
m_dbg->removeWatch(watch);
@@ -320,7 +320,7 @@ void tst_QmlDebug::watch_object()
m_rootItem->setProperty("height", origHeight*2);
// stateChanged() is received before any valueChanged() signals
- QVERIFY(QmlDebuggerTest::waitForSignal(watch, SIGNAL(stateChanged(State))));
+ QVERIFY(QmlDebuggerTest::waitForSignal(watch, SIGNAL(stateChanged(QmlDebugWatch::State))));
QVERIFY(spy.count() > 0);
int newWidth = -1;