aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickflickable
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2012-06-22 11:39:18 +1000
committerQt by Nokia <qt-info@nokia.com>2012-06-22 08:18:15 +0200
commitdb3aa0d40b34cf365540041c148d9bf4f05148d9 (patch)
tree4c092616548d5156f1c903afd7e3a1c09a6a6c7b /tests/auto/quick/qquickflickable
parent18fb5506d524dbe380d5bf636c74c93fb85cbc31 (diff)
Rename Flickable x/yOrigin to originX/Y
This is consistent with the naming of other x/y properties, e.g. contentX/Y, relativeX/Y etc. Change-Id: I5159f8e54a6fda6a1f83a563ea9db47c3b8af238 Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'tests/auto/quick/qquickflickable')
-rw-r--r--tests/auto/quick/qquickflickable/tst_qquickflickable.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/quick/qquickflickable/tst_qquickflickable.cpp b/tests/auto/quick/qquickflickable/tst_qquickflickable.cpp
index b6d9d033af..dc895dc423 100644
--- a/tests/auto/quick/qquickflickable/tst_qquickflickable.cpp
+++ b/tests/auto/quick/qquickflickable/tst_qquickflickable.cpp
@@ -1050,8 +1050,8 @@ void tst_qquickflickable::margins()
QCOMPARE(obj->contentY(), -20.);
QCOMPARE(obj->contentWidth(), 1600.);
QCOMPARE(obj->contentHeight(), 600.);
- QCOMPARE(obj->xOrigin(), 0.);
- QCOMPARE(obj->yOrigin(), 0.);
+ QCOMPARE(obj->originX(), 0.);
+ QCOMPARE(obj->originY(), 0.);
// Reduce left margin
obj->setLeftMargin(30);