diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2009-04-29 05:22:28 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2009-04-29 05:22:28 (GMT) |
commit | 94a698046c2c00a4627607db1f7099880643e829 (patch) | |
tree | 14bea2bd854bea2488982f2c5e48ca00cfe4b321 /demos/declarative/calculator | |
parent | 9ba03ca32ae12f8b135f3b4f80c445edc3e6b55e (diff) | |
download | Qt-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 'demos/declarative/calculator')
-rw-r--r-- | demos/declarative/calculator/CalcButton.qml | 4 | ||||
-rw-r--r-- | demos/declarative/calculator/calculator.qml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/demos/declarative/calculator/CalcButton.qml b/demos/declarative/calculator/CalcButton.qml index f240000..f4ccdae 100644 --- a/demos/declarative/calculator/CalcButton.qml +++ b/demos/declarative/calculator/CalcButton.qml @@ -25,13 +25,13 @@ Item { Image { id: Image - src: "pics/button.sci" + source: "pics/button.sci" width: Button.width; height: Button.height } Image { id: ImagePressed - src: "pics/button-pressed.sci" + source: "pics/button-pressed.sci" width: Button.width; height: Button.height opacity: 0 } diff --git a/demos/declarative/calculator/calculator.qml b/demos/declarative/calculator/calculator.qml index 1e7c30a..145435b 100644 --- a/demos/declarative/calculator/calculator.qml +++ b/demos/declarative/calculator/calculator.qml @@ -2,7 +2,7 @@ Rect { id: MainWindow; width: 320; height: 270; color: "black" - Script { src: "calculator.js" } + Script { source: "calculator.js" } VerticalLayout { spacing: 2; margin: 2 |