diff options
author | abcd <amos.choy@nokia.com> | 2011-11-25 17:09:19 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-28 05:12:29 +0100 |
commit | 6d2297f6cd778cd63127d6b3d2a993d7b5a5633f (patch) | |
tree | 14f7b62bae488b534f73a7a1e76e0e2a2663effc /tests/auto/qmlinterface | |
parent | aae49c4ed83b4a619e9770834d565a79f412412d (diff) | |
download | qtlocation-6d2297f6cd778cd63127d6b3d2a993d7b5a5633f.tar.gz |
Rename Ratings::value to Ratings::average
Change-Id: I545d22813ad762b1d918053602b5a7f08f666688
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
Diffstat (limited to 'tests/auto/qmlinterface')
-rw-r--r-- | tests/auto/qmlinterface/data/TestRatings.qml | 2 | ||||
-rw-r--r-- | tests/auto/qmlinterface/tst_qmlinterface.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qmlinterface/data/TestRatings.qml b/tests/auto/qmlinterface/data/TestRatings.qml index 7df9c971..c81f6fa1 100644 --- a/tests/auto/qmlinterface/data/TestRatings.qml +++ b/tests/auto/qmlinterface/data/TestRatings.qml @@ -42,7 +42,7 @@ import QtLocation 5.0 Ratings { - value: 3.5 + average: 3.5 maximum: 5.0 count: 10 } diff --git a/tests/auto/qmlinterface/tst_qmlinterface.cpp b/tests/auto/qmlinterface/tst_qmlinterface.cpp index 5034f007..467a485a 100644 --- a/tests/auto/qmlinterface/tst_qmlinterface.cpp +++ b/tests/auto/qmlinterface/tst_qmlinterface.cpp @@ -124,7 +124,7 @@ tst_qmlinterface::tst_qmlinterface() m_icon.setFullUrl(QUrl(QLatin1String("http://www.example.com/test-icon.png"))); - m_ratings.setValue(3.5); + m_ratings.setAverage(3.5); m_ratings.setMaximum(5.0); m_ratings.setCount(10); |