summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-10-30 05:13:19 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-10-30 05:13:19 (GMT)
commitabf60e8e075ecbf2c14e84d40fecff973dd124c7 (patch)
treeaa877319fca3bd223078d0dc0f3658efef1807d6
parentb0c858dee261dec08dacd2c74671404f3229cb31 (diff)
downloadQt-abf60e8e075ecbf2c14e84d40fecff973dd124c7.zip
Qt-abf60e8e075ecbf2c14e84d40fecff973dd124c7.tar.gz
Qt-abf60e8e075ecbf2c14e84d40fecff973dd124c7.tar.bz2
cleanup
-rw-r--r--examples/declarative/parallax/parallax.qml1
-rw-r--r--examples/declarative/parallax/qml/ParallaxView.qml (renamed from examples/declarative/parallax/ParallaxView.qml)0
-rw-r--r--examples/declarative/parallax/qml/Smiley.qml (renamed from examples/declarative/parallax/Smiley.qml)4
3 files changed, 3 insertions, 2 deletions
diff --git a/examples/declarative/parallax/parallax.qml b/examples/declarative/parallax/parallax.qml
index b64f15f..6193f27 100644
--- a/examples/declarative/parallax/parallax.qml
+++ b/examples/declarative/parallax/parallax.qml
@@ -1,5 +1,6 @@
import Qt 4.6
import "../clocks/content"
+import "qml"
Rectangle {
id: root
diff --git a/examples/declarative/parallax/ParallaxView.qml b/examples/declarative/parallax/qml/ParallaxView.qml
index ac84b47..ac84b47 100644
--- a/examples/declarative/parallax/ParallaxView.qml
+++ b/examples/declarative/parallax/qml/ParallaxView.qml
diff --git a/examples/declarative/parallax/Smiley.qml b/examples/declarative/parallax/qml/Smiley.qml
index db87412..e8917f6 100644
--- a/examples/declarative/parallax/Smiley.qml
+++ b/examples/declarative/parallax/qml/Smiley.qml
@@ -7,7 +7,7 @@ Item {
// The shadow for the smiley face
Image {
anchors.horizontalCenter: parent.horizontalCenter
- source: "pics/shadow.png"; y: smiley.minHeight + 58
+ source: "../pics/shadow.png"; y: smiley.minHeight + 58
transformOrigin: Item.Center
// The scale property depends on the y position of the smiley face.
@@ -20,7 +20,7 @@ Item {
property int minHeight: 2 * window.height / 3
anchors.horizontalCenter: parent.horizontalCenter
- source: "pics/face-smile.png"; y: minHeight
+ source: "../pics/face-smile.png"; y: minHeight
// Animate the y property. Setting repeat to true makes the
// animation repeat indefinitely, otherwise it would only run once.