summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/visual/Package_Views
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-02-03 00:01:13 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-02-03 00:04:03 (GMT)
commit17d0ed5af4922645a268b6550742fb521d459c8e (patch)
tree43f4077630bd896da88715dec894392c63ac666b /tests/auto/declarative/visual/Package_Views
parent35a211cd95e0d09ef0b547b57f01f0a9ff41da2f (diff)
downloadQt-17d0ed5af4922645a268b6550742fb521d459c8e.zip
Qt-17d0ed5af4922645a268b6550742fb521d459c8e.tar.gz
Qt-17d0ed5af4922645a268b6550742fb521d459c8e.tar.bz2
Disallow ids that start with uppercase letters and update docs and
examples accordingly. Task-number: QT-2786
Diffstat (limited to 'tests/auto/declarative/visual/Package_Views')
-rw-r--r--tests/auto/declarative/visual/Package_Views/packageviews.qml10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/declarative/visual/Package_Views/packageviews.qml b/tests/auto/declarative/visual/Package_Views/packageviews.qml
index ece6b88..c8016b6 100644
--- a/tests/auto/declarative/visual/Package_Views/packageviews.qml
+++ b/tests/auto/declarative/visual/Package_Views/packageviews.qml
@@ -6,9 +6,9 @@ Rectangle {
height: 200
color: "black"
- VisualDataModel {
- id: Model
- model: ListModel {
+ VisualDatamodel {
+ id: model
+ model: Listmodel {
ListElement { itemColor: "red" }
ListElement { itemColor: "green" }
ListElement { itemColor: "blue" }
@@ -75,7 +75,7 @@ Rectangle {
ListView {
width: parent.width/2
height: parent.height
- model: Model.parts.list
+ model: model.parts.list
}
GridView {
@@ -84,6 +84,6 @@ Rectangle {
cellWidth: 50
cellHeight: 50
height: parent.height
- model: Model.parts.grid
+ model: model.parts.grid
}
}