summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@digia.com>2013-05-27 18:34:37 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-05-27 19:38:19 +0200
commite0c8035c3db5c3c68602a90a5addbb2d48c0733f (patch)
tree8e67e67ce4e9ed964d594b250a237ed5abbd8390 /examples
parentbb64aef56bd43891bd6f91aee25bdfe6633c3a98 (diff)
downloadqtquickcontrols-e0c8035c3db5c3c68602a90a5addbb2d48c0733f.tar.gz
Rename controlState to styleData
Change-Id: I06c9f4b0d9b6eef7d2ca608827eee982d8d97027 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/quick/controls/tableview/main.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/quick/controls/tableview/main.qml b/examples/quick/controls/tableview/main.qml
index 02c7e6f0..3ecf5ddb 100644
--- a/examples/quick/controls/tableview/main.qml
+++ b/examples/quick/controls/tableview/main.qml
@@ -104,9 +104,9 @@ Window {
ListModel {
id: nestedModel
- ListElement{controlState: ListElement { description: "Core" ; color:"#ffaacc"}}
- ListElement{controlState: ListElement { description: "Second" ; color:"#ffccaa"}}
- ListElement{controlState: ListElement { description: "Third" ; color:"#ffffaa"}}
+ ListElement{content: ListElement { description: "Core" ; color:"#ffaacc"}}
+ ListElement{content: ListElement { description: "Second" ; color:"#ffccaa"}}
+ ListElement{content: ListElement { description: "Third" ; color:"#ffffaa"}}
}
ListModel {
@@ -176,7 +176,7 @@ Window {
anchors.margins: 12
TableViewColumn {
- role: "controlState"
+ role: "content"
title: "Text and Color"
width: 220
}