summaryrefslogtreecommitdiffstats
path: root/demos/declarative/samegame/samegame.qml
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-03-02 14:54:38 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-03-02 14:54:38 (GMT)
commite16b33eefa365986f8e0d26c710cb7568bf9abff (patch)
treeaf0ef803dd8fe2fb1a013a66f338e133173ccd10 /demos/declarative/samegame/samegame.qml
parentf56893bbffd5eb26dd77e56707615cbb11a26c9b (diff)
downloadQt-e16b33eefa365986f8e0d26c710cb7568bf9abff.zip
Qt-e16b33eefa365986f8e0d26c710cb7568bf9abff.tar.gz
Qt-e16b33eefa365986f8e0d26c710cb7568bf9abff.tar.bz2
Refactor demos
Samegame and Twitter are now trying the new naming convention.
Diffstat (limited to 'demos/declarative/samegame/samegame.qml')
-rw-r--r--demos/declarative/samegame/samegame.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/declarative/samegame/samegame.qml b/demos/declarative/samegame/samegame.qml
index c81f292..3b19cbe 100644
--- a/demos/declarative/samegame/samegame.qml
+++ b/demos/declarative/samegame/samegame.qml
@@ -1,5 +1,5 @@
import Qt 4.6
-import "content"
+import SamegameCore 1.0
Rectangle {
id: screen
@@ -12,7 +12,7 @@ Rectangle {
Image {
id: background
- anchors.fill: parent; source: "content/pics/background.png"
+ anchors.fill: parent; source: "SamegameCore/pics/background.png"
fillMode: Image.PreserveAspectCrop
smooth: true
}
@@ -22,7 +22,7 @@ Rectangle {
property int score: 0
property int tileSize: 40
- Script { source: "content/samegame.js" }
+ Script { source: "SamegameCore/samegame.js" }
z: 20; anchors.centerIn: parent
width: parent.width - (parent.width % getTileSize());