diff options
Diffstat (limited to 'tests/auto/qtreewidgetitemiterator/tst_qtreewidgetitemiterator.cpp')
-rw-r--r-- | tests/auto/qtreewidgetitemiterator/tst_qtreewidgetitemiterator.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/qtreewidgetitemiterator/tst_qtreewidgetitemiterator.cpp b/tests/auto/qtreewidgetitemiterator/tst_qtreewidgetitemiterator.cpp index 77c3459..1e74f49 100644 --- a/tests/auto/qtreewidgetitemiterator/tst_qtreewidgetitemiterator.cpp +++ b/tests/auto/qtreewidgetitemiterator/tst_qtreewidgetitemiterator.cpp @@ -925,7 +925,7 @@ void tst_QTreeWidgetItemIterator::iteratorflags() QFETCH(int, iteratorflags); QFETCH(QStringList, matches); - QTreeWidgetItemIterator it(testWidget, (QTreeWidgetItemIterator::IteratorFlags)iteratorflags); + QTreeWidgetItemIterator it(testWidget, QTreeWidgetItemIterator::IteratorFlags(iteratorflags)); it+=start; int iMatch = 0; while (*it && iMatch < matches.count()) { @@ -1000,7 +1000,7 @@ void tst_QTreeWidgetItemIterator::plus_eq() QFETCH(int, iteratorflags); QFETCH(QString, expecteditem); - QTreeWidgetItemIterator it(testWidget, (QTreeWidgetItemIterator::IteratorFlags)iteratorflags); + QTreeWidgetItemIterator it(testWidget, QTreeWidgetItemIterator::IteratorFlags(iteratorflags)); it+=start; it+=addition; QTreeWidgetItem *item = *it; @@ -1033,7 +1033,7 @@ void tst_QTreeWidgetItemIterator::minus_eq() QFETCH(int, iteratorflags); QFETCH(QString, expecteditem); - QTreeWidgetItemIterator it(testWidget, (QTreeWidgetItemIterator::IteratorFlags)iteratorflags); + QTreeWidgetItemIterator it(testWidget, QTreeWidgetItemIterator::IteratorFlags(iteratorflags)); it+=start; it-=subtraction; QTreeWidgetItem *item = *it; @@ -1112,10 +1112,10 @@ void tst_QTreeWidgetItemIterator::updateIfModifiedFromWidget() } } - QTreeWidgetItemIterator it(&tw, (QTreeWidgetItemIterator::IteratorFlags)iteratorflags); + QTreeWidgetItemIterator it(&tw, QTreeWidgetItemIterator::IteratorFlags(iteratorflags)); it+=expecteditemindex; QTreeWidgetItem *item = 0; - QTreeWidgetItemIterator itRemove(&tw, (QTreeWidgetItemIterator::IteratorFlags)iteratorflags); + QTreeWidgetItemIterator itRemove(&tw, QTreeWidgetItemIterator::IteratorFlags(iteratorflags)); itRemove+=removeindex; item = *itRemove; QVERIFY(item); |