diff options
author | Justin McPherson <justin.mcpherson@nokia.com> | 2010-03-25 00:32:03 (GMT) |
---|---|---|
committer | Justin McPherson <justin.mcpherson@nokia.com> | 2010-03-25 00:39:43 (GMT) |
commit | 444e8812eec42abd2dcc5e47826f9a4793a34f66 (patch) | |
tree | 1b42fbae90ae91e77d06e0ab9f6934363594b9d9 /tests/auto/qsoundeffect | |
parent | e15d5fc7e1a82da38b765e55d040edbdf8621ae2 (diff) | |
download | Qt-444e8812eec42abd2dcc5e47826f9a4793a34f66.zip Qt-444e8812eec42abd2dcc5e47826f9a4793a34f66.tar.gz Qt-444e8812eec42abd2dcc5e47826f9a4793a34f66.tar.bz2 |
Rename loopCount to loops, in line with other declarative elements.
Reviewed-by: Dmytro Poplavskiy
Diffstat (limited to 'tests/auto/qsoundeffect')
-rw-r--r-- | tests/auto/qsoundeffect/tst_qsoundeffect.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/qsoundeffect/tst_qsoundeffect.cpp b/tests/auto/qsoundeffect/tst_qsoundeffect.cpp index b918816..e76a4c5 100644 --- a/tests/auto/qsoundeffect/tst_qsoundeffect.cpp +++ b/tests/auto/qsoundeffect/tst_qsoundeffect.cpp @@ -72,7 +72,7 @@ void tst_QSoundEffect::initTestCase() sound = new QSoundEffect; QVERIFY(sound->source().isEmpty()); - QVERIFY(sound->loopCount() == 1); + QVERIFY(sound->loops() == 1); QVERIFY(sound->volume() == 100); QVERIFY(sound->isMuted() == false); #endif @@ -99,10 +99,10 @@ void tst_QSoundEffect::testSource() void tst_QSoundEffect::testLooping() { #ifndef QT_MULTIMEDIA_QMEDIAPLAYER - QSignalSpy readSignal(sound, SIGNAL(loopCountChanged())); + QSignalSpy readSignal(sound, SIGNAL(loopsChanged())); - sound->setLoopCount(5); - QCOMPARE(sound->loopCount(),5); + sound->setLoops(5); + QCOMPARE(sound->loops(),5); sound->play(); |