summaryrefslogtreecommitdiffstats
path: root/examples/declarative/listview
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-04-29 05:22:28 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-04-29 05:22:28 (GMT)
commit94a698046c2c00a4627607db1f7099880643e829 (patch)
tree14bea2bd854bea2488982f2c5e48ca00cfe4b321 /examples/declarative/listview
parent9ba03ca32ae12f8b135f3b4f80c445edc3e6b55e (diff)
downloadQt-94a698046c2c00a4627607db1f7099880643e829.zip
Qt-94a698046c2c00a4627607db1f7099880643e829.tar.gz
Qt-94a698046c2c00a4627607db1f7099880643e829.tar.bz2
Rename the 'src' attribute 'source'. Don't need to be HTML-like anymore.
Diffstat (limited to 'examples/declarative/listview')
-rw-r--r--examples/declarative/listview/content/MediaButton.qml4
-rw-r--r--examples/declarative/listview/recipes.qml6
2 files changed, 5 insertions, 5 deletions
diff --git a/examples/declarative/listview/content/MediaButton.qml b/examples/declarative/listview/content/MediaButton.qml
index c92305a..6c672ea 100644
--- a/examples/declarative/listview/content/MediaButton.qml
+++ b/examples/declarative/listview/content/MediaButton.qml
@@ -7,8 +7,8 @@
<Property name="text"/>
</properties>
- <Image id="Image" src="pics/button.png"/>
- <Image id="Pressed" src="pics/button-pressed.png" opacity="0"/>
+ <Image id="Image" source="pics/button.png"/>
+ <Image id="Pressed" source="pics/button-pressed.png" opacity="0"/>
<MouseRegion id="MouseRegion" anchors.fill="{Image}" onClicked="Container.clicked.emit();"/>
<Text font.bold="true" color="white" anchors.centeredIn="{Image}" text="{Container.text}"/>
<width>{Image.width}</width>
diff --git a/examples/declarative/listview/recipes.qml b/examples/declarative/listview/recipes.qml
index 0f6324f..db8604e 100644
--- a/examples/declarative/listview/recipes.qml
+++ b/examples/declarative/listview/recipes.qml
@@ -54,7 +54,7 @@ Rect {
width: parent.width
Image {
id: recipePic
- src: picture
+ source: picture
width: 48
height: 48
}
@@ -115,13 +115,13 @@ Rect {
Image {
anchors.right: flick.right
anchors.top: flick.top
- src: "content/pics/moreUp.png"
+ source: "content/pics/moreUp.png"
opacity: flick.atYBeginning ? 0 : 1
}
Image {
anchors.right: flick.right
anchors.bottom: flick.bottom
- src: "content/pics/moreDown.png"
+ source: "content/pics/moreDown.png"
opacity: flick.atYEnd ? 0 : 1
}
}