diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2010-03-02 14:54:38 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2010-03-02 14:54:38 (GMT) |
commit | e16b33eefa365986f8e0d26c710cb7568bf9abff (patch) | |
tree | af0ef803dd8fe2fb1a013a66f338e133173ccd10 /demos/declarative/samegame/samegame.qml | |
parent | f56893bbffd5eb26dd77e56707615cbb11a26c9b (diff) | |
download | Qt-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.qml | 6 |
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()); |