aboutsummaryrefslogtreecommitdiffstats
path: root/tests/testapplications/elements/content/TrailEmitterElement.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 /tests/testapplications/elements/content/TrailEmitterElement.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 'tests/testapplications/elements/content/TrailEmitterElement.qml')
-rw-r--r--tests/testapplications/elements/content/TrailEmitterElement.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/testapplications/elements/content/TrailEmitterElement.qml b/tests/testapplications/elements/content/TrailEmitterElement.qml
index a151237993..9d3168b727 100644
--- a/tests/testapplications/elements/content/TrailEmitterElement.qml
+++ b/tests/testapplications/elements/content/TrailEmitterElement.qml
@@ -87,7 +87,7 @@ Item {
emitRate: 1
lifeSpan: 3000
size: 20
- speed: AngleDirection { angle: 270; angleVariation: 25; magnitude: 150 }
+ velocity: AngleDirection { angle: 270; angleVariation: 25; magnitude: 150 }
group: "orangemissile"
}
Emitter {
@@ -98,7 +98,7 @@ Item {
emitRate: 1
lifeSpan: 3000
size: 20
- speed: AngleDirection { angle: 270; angleVariation: 25; magnitude: 150 }
+ velocity: AngleDirection { angle: 270; angleVariation: 25; magnitude: 150 }
group: "greenmissile"
}
Gravity {
@@ -113,8 +113,8 @@ Item {
anchors.fill: parent
emitRatePerParticle: 50
lifeSpan: 1000
- speedFromMovement: .2
- speed: AngleDirection { angle: 0; angleVariation: 360; magnitude: 5 }
+ velocityFromMovement: .2
+ velocity: AngleDirection { angle: 0; angleVariation: 360; magnitude: 5 }
maximumEmitted: 500
shape: basicshape
}