diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-10-03 08:55:13 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-10-05 21:58:05 +0000 |
commit | b22cb209e706317f12416df1a1e8a8a19a271827 (patch) | |
tree | 93106ec43998d4aa10efe8a7c359bd80e3e6496f /tests/auto/quick/qquicklistview/tst_qquicklistview.cpp | |
parent | 2dda8dcb2fc4851307d01af8336da2c8216b6360 (diff) |
Replace obsolete VisualDataModel, *Group and VisualItemModel in tests
VisualDataModel, VisualDataGroup, and VisualItemModel
are replaced with DelegateModel, DelegateModelGroup, and ObjectModel
respectively (since 7cad0e52c5a020bd29635e9912fd8946a6b48124).
git grep -l 'VisualDataModel' | xargs sed -i 's/VisualDataModel/DelegateModel/g'
git grep -l 'VisualDataGroup' | xargs sed -i 's/VisualDataGroup/DelegateModelGroup/g'
git grep -l 'VisualItemModel' | xargs sed -i 's/VisualItemModel/ObjectModel/g'
Change-Id: Ie91b37b204f08a5d1f1f38594fb22ed70a6e2080
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests/auto/quick/qquicklistview/tst_qquicklistview.cpp')
-rw-r--r-- | tests/auto/quick/qquicklistview/tst_qquicklistview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/quick/qquicklistview/tst_qquicklistview.cpp b/tests/auto/quick/qquicklistview/tst_qquicklistview.cpp index a9be9d4fa4..2574eb9c6c 100644 --- a/tests/auto/quick/qquicklistview/tst_qquicklistview.cpp +++ b/tests/auto/quick/qquicklistview/tst_qquicklistview.cpp @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2016 The Qt Company Ltd. +** Copyright (C) 2018 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the test suite of the Qt Toolkit. @@ -465,7 +465,7 @@ void tst_QQuickListView::items(const QUrl &source) T model2; ctxt->setContextProperty("testModel", &model2); - // Force a layout, necessary if ListView is completed before VisualDataModel. + // Force a layout, necessary if ListView is completed before DelegateModel. listview->forceLayout(); int itemCount = findItems<QQuickItem>(contentItem, "wrapper").count(); @@ -504,7 +504,7 @@ void tst_QQuickListView::changed(const QUrl &source) QQuickItem *contentItem = listview->contentItem(); QTRY_VERIFY(contentItem != nullptr); - // Force a layout, necessary if ListView is completed before VisualDataModel. + // Force a layout, necessary if ListView is completed before DelegateModel. listview->forceLayout(); model.modifyItem(1, "Will", "9876"); |