aboutsummaryrefslogtreecommitdiffstats
path: root/examples/particles/affectors/content/attractor.qml
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2012-06-25 12:01:46 +1000
committerQt by Nokia <qt-info@nokia.com>2012-06-29 02:21:36 +0200
commit5df94d89033e7bbb3f41840a4c07a628ed66b4d5 (patch)
treee42bcd16d8f5f3a192c48794b610ffeb05b9dc02 /examples/particles/affectors/content/attractor.qml
parent2241d6fa2d39fe890ba0d17ff58b5e0615c1cd7b (diff)
Rename speed -> velocity in the particle system
Matches the convention set in the QtQuick module, for example by ListView and Flickable. Change-Id: I8df57ed1ced8128723d790c30c00cc1b2062787d Reviewed-by: Bea Lam <bea.lam@nokia.com>
Diffstat (limited to 'examples/particles/affectors/content/attractor.qml')
-rw-r--r--examples/particles/affectors/content/attractor.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/particles/affectors/content/attractor.qml b/examples/particles/affectors/content/attractor.qml
index 16a553faeb..71e66a046e 100644
--- a/examples/particles/affectors/content/attractor.qml
+++ b/examples/particles/affectors/content/attractor.qml
@@ -58,7 +58,7 @@ Rectangle {
enabled: true
size: 30
sizeVariation: 10
- speed: PointDirection { x: 220; xVariation: 40 }
+ velocity: PointDirection { x: 220; xVariation: 40 }
height: parent.height
}
Emitter {
@@ -69,7 +69,7 @@ Rectangle {
enabled: true
size: 30
sizeVariation: 10
- speed: PointDirection { x: 220; xVariation: 40 }
+ velocity: PointDirection { x: 220; xVariation: 40 }
height: parent.height
}
ParticleSystem {
@@ -178,7 +178,7 @@ Rectangle {
size: 10
endSize: 4
sizeVariation: 4
- speed: PointDirection { x: -128; xVariation: 32 }
+ velocity: PointDirection { x: -128; xVariation: 32 }
height: ship.height
y: ship.y
x: ship.x
@@ -191,7 +191,7 @@ Rectangle {
lifeSpan: 1000
enabled: true
size: 40
- speed: PointDirection { x: 256; }
+ velocity: PointDirection { x: 256; }
x: ship.x + ship.width
y: ship.y + ship.height/2
}