summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2018-10-03 08:47:04 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2018-10-03 15:16:37 +0000
commit347a29ff5cc2bde63863cf8657c64b4d13f52406 (patch)
treeb74d880f6e095d62431a570d2d93815dc8fa40f8 /examples
parentf6bb3c220b1276ee9f5782a4fe0165cf62ba727a (diff)
Replace more vestiges of VisualDataModel, *Group and VisualItemModel
VisualDataModel, VisualDataGroup, and VisualItemModel are replaced with DelegateModel, DelegateModelGroup, and ObjectModel respectively (since 7cad0e52c5a020bd29635e9912fd8946a6b48124), so shouldn't be mentioned anymore, in preparation for removal. Task-number: QTBUG-37725 Change-Id: I9a01ec8db748f817efca638383b7a278c7b562cd Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/quick/tutorials/dynamicview/dynamicview4/dynamicview.qml2
-rw-r--r--examples/quick/views/visualdatamodel/dragselection.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/quick/tutorials/dynamicview/dynamicview4/dynamicview.qml b/examples/quick/tutorials/dynamicview/dynamicview4/dynamicview.qml
index 7b21830c4d..327ca0cea7 100644
--- a/examples/quick/tutorials/dynamicview/dynamicview4/dynamicview.qml
+++ b/examples/quick/tutorials/dynamicview/dynamicview4/dynamicview.qml
@@ -185,7 +185,7 @@ Rectangle {
//![1]
items.includeByDefault: false
//![5]
- groups: VisualDataGroup {
+ groups: DelegateModelGroup {
id: unsortedItems
name: "unsorted"
diff --git a/examples/quick/views/visualdatamodel/dragselection.qml b/examples/quick/views/visualdatamodel/dragselection.qml
index 4b29e2bb82..15fd2654c2 100644
--- a/examples/quick/views/visualdatamodel/dragselection.qml
+++ b/examples/quick/views/visualdatamodel/dragselection.qml
@@ -181,7 +181,7 @@ Item {
model: 35
delegate: packageDelegate
- groups: VisualDataGroup { id: selectedItems; name: "selected" }
+ groups: DelegateModelGroup { id: selectedItems; name: "selected" }
Component.onCompleted: parts.selection.filterOnGroup = "selected"
}