on xenial help sign in
No need for the classname
commit7e59aff1c1611643e9d4286007e29a6cbca90d4f authorAlbert Astals <albert.astals@canonical.com> dateFri 14 Jun 2013, 12:11 (13 years ago) parentcb8b3c7
1 file changed+8−8
tests/plugins/ListViewWithPageHeader/listviewwithpageheadertest.cpp+8−8
tests/plugins/ListViewWithPageHeader/listviewwithpageheadertest.cpp+8−8
@@ -68,17 +68,17 @@ private Q_SLOTS:
6868 if (dest > lvwph->contentY()) {
6969 const qreal jump = 25;
7070 while (lvwph->contentY() + jump < dest) {
71− lvwph->QQuickFlickable::setContentY(lvwph->contentY() + jump);
71+ lvwph->setContentY(lvwph->contentY() + jump);
7272 QTest::qWait(0);
7373 }
7474 } else {
7575 const qreal jump = -25;
7676 while (lvwph->contentY() + jump > dest) {
77− lvwph->QQuickFlickable::setContentY(lvwph->contentY() + jump);
77+ lvwph->setContentY(lvwph->contentY() + jump);
7878 QTest::qWait(0);
7979 }
8080 }
81− lvwph->QQuickFlickable::setContentY(dest);
81+ lvwph->setContentY(dest);
8282 QTest::qWait(0);
8383 }
8484
@@ -87,9 +87,9 @@ private Q_SLOTS:
8787 const qreal jump = -25;
8888 while (!lvwph->isAtYBeginning()) {
8989 if (lvwph->contentY() + jump > -lvwph->minYExtent()) {
90− lvwph->QQuickFlickable::setContentY(lvwph->contentY() + jump);
90+ lvwph->setContentY(lvwph->contentY() + jump);
9191 } else {
92− lvwph->QQuickFlickable::setContentY(lvwph->contentY() - 1);
92+ lvwph->setContentY(lvwph->contentY() - 1);
9393 }
9494 QTest::qWait(0);
9595 }
@@ -100,9 +100,9 @@ private Q_SLOTS:
100100 const qreal jump = 25;
101101 while (!lvwph->isAtYEnd()) {
102102 if (lvwph->contentY() + lvwph->height() + jump < lvwph->contentHeight()) {
103− lvwph->QQuickFlickable::setContentY(lvwph->contentY() + jump);
103+ lvwph->setContentY(lvwph->contentY() + jump);
104104 } else {
105− lvwph->QQuickFlickable::setContentY(lvwph->contentY() + 1);
105+ lvwph->setContentY(lvwph->contentY() + 1);
106106 }
107107 QTest::qWait(0);
108108 }
@@ -132,7 +132,7 @@ private Q_SLOTS:
132132
133133 void testDrag1PixelUp()
134134 {
135− lvwph->QQuickFlickable::setContentY(lvwph->contentY() + 1);
135+ lvwph->setContentY(lvwph->contentY() + 1);
136136 QTRY_COMPARE(lvwph->m_visibleItems.count(), 4);
137137 QCOMPARE(lvwph->m_firstVisibleIndex, 0);
138138 verifyItem(0, 49., 150., false);