summaryrefslogtreecommitdiffstats
path: root/examples/declarative/dial
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/dial
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/dial')
-rw-r--r--examples/declarative/dial/DialLibrary/Dial.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/declarative/dial/DialLibrary/Dial.qml b/examples/declarative/dial/DialLibrary/Dial.qml
index 8336a70..fe8528d 100644
--- a/examples/declarative/dial/DialLibrary/Dial.qml
+++ b/examples/declarative/dial/DialLibrary/Dial.qml
@@ -8,14 +8,14 @@ Item {
}
Image {
id: Background
- src: "background.svg"
+ source: "background.svg"
}
Item {
x: 104
y: 102
rotation: Needle.rotation
Image {
- src: "needle_shadow.svg"
+ source: "needle_shadow.svg"
x: -104
y: -102
}
@@ -31,12 +31,12 @@ Item {
source: Math.min(Math.max(-130, value*2.2 - 130), 133)
}
Image {
- src: "needle.svg"
+ source: "needle.svg"
x: -102
y: -98
}
}
Image {
- src: "overlay.svg"
+ source: "overlay.svg"
}
}