diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2012-06-25 12:01:46 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-29 02:21:36 +0200 |
commit | 5df94d89033e7bbb3f41840a4c07a628ed66b4d5 (patch) | |
tree | e42bcd16d8f5f3a192c48794b610ffeb05b9dc02 /examples/particles/imageparticle | |
parent | 2241d6fa2d39fe890ba0d17ff58b5e0615c1cd7b (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/imageparticle')
-rw-r--r-- | examples/particles/imageparticle/allatonce.qml | 4 | ||||
-rw-r--r-- | examples/particles/imageparticle/colored.qml | 2 | ||||
-rw-r--r-- | examples/particles/imageparticle/colortable.qml | 4 | ||||
-rw-r--r-- | examples/particles/imageparticle/deformation.qml | 8 | ||||
-rw-r--r-- | examples/particles/imageparticle/rotation.qml | 2 | ||||
-rw-r--r-- | examples/particles/imageparticle/sharing.qml | 2 | ||||
-rw-r--r-- | examples/particles/imageparticle/sprites.qml | 2 |
7 files changed, 12 insertions, 12 deletions
diff --git a/examples/particles/imageparticle/allatonce.qml b/examples/particles/imageparticle/allatonce.qml index b62735d7f9..cedc17d7aa 100644 --- a/examples/particles/imageparticle/allatonce.qml +++ b/examples/particles/imageparticle/allatonce.qml @@ -59,7 +59,7 @@ Rectangle { } ] colorVariation: 0.5 - rotationSpeedVariation: 360 + rotationVelocityVariation: 360 system: sys colorTable: "../trails/../images/colortable.png" } @@ -75,7 +75,7 @@ Rectangle { id: particles emitRate: 200 lifeSpan: 6000 - speed: AngleDirection {angleVariation: 360; magnitude: 80; magnitudeVariation: 40} + velocity: AngleDirection {angleVariation: 360; magnitude: 80; magnitudeVariation: 40} size: 60 endSize: 120 } diff --git a/examples/particles/imageparticle/colored.qml b/examples/particles/imageparticle/colored.qml index ac760b6219..8ae9a8e0bc 100644 --- a/examples/particles/imageparticle/colored.qml +++ b/examples/particles/imageparticle/colored.qml @@ -75,7 +75,7 @@ Rectangle { lifeSpan: 2400 size: 48 sizeVariation: 8 - speed: AngleDirection {angleVariation: 180; magnitude: 60} + velocity: AngleDirection {angleVariation: 180; magnitude: 60} } Turbulence { diff --git a/examples/particles/imageparticle/colortable.qml b/examples/particles/imageparticle/colortable.qml index 623029dae0..e7c9b5c176 100644 --- a/examples/particles/imageparticle/colortable.qml +++ b/examples/particles/imageparticle/colortable.qml @@ -72,9 +72,9 @@ Rectangle { from: 0; to: Math.PI * 2; duration: 10000; loops: Animation.Infinite } - speedFromMovement: 20 + velocityFromMovement: 20 - speed: PointDirection { xVariation: 5; yVariation: 5;} + velocity: PointDirection { xVariation: 5; yVariation: 5;} acceleration: PointDirection { xVariation: 5; yVariation: 5;} size: 16 diff --git a/examples/particles/imageparticle/deformation.qml b/examples/particles/imageparticle/deformation.qml index e282927e78..0fca37e3e1 100644 --- a/examples/particles/imageparticle/deformation.qml +++ b/examples/particles/imageparticle/deformation.qml @@ -52,7 +52,7 @@ Rectangle { groups: ["goingLeft", "goingRight"] source: "../images/starfish_4.png" rotation: 90 - rotationSpeed: 90 + rotationVelocity: 90 autoRotation: true } ImageParticle { @@ -89,7 +89,7 @@ Rectangle { system: sys enabled: false group: "goingRight" - speed: PointDirection { x: 100 } + velocity: PointDirection { x: 100 } lifeSpan: 4000 emitRate: 1 size: 128 @@ -101,7 +101,7 @@ Rectangle { system: sys enabled: false group: "goingLeft" - speed: PointDirection { x: -100 } + velocity: PointDirection { x: -100 } lifeSpan: 4000 emitRate: 1 size: 128 @@ -113,7 +113,7 @@ Rectangle { system: sys enabled: false group: "goingDown" - speed: PointDirection { x: 100 } + velocity: PointDirection { x: 100 } lifeSpan: 4000 emitRate: 1 size: 128 diff --git a/examples/particles/imageparticle/rotation.qml b/examples/particles/imageparticle/rotation.qml index 3a75c379ed..34e063b1f5 100644 --- a/examples/particles/imageparticle/rotation.qml +++ b/examples/particles/imageparticle/rotation.qml @@ -58,7 +58,7 @@ Rectangle { emitRate: 10 size: 200 lifeSpan: 10000 - speed: AngleDirection {angleVariation: 360; magnitudeVariation: 100;} + velocity: AngleDirection {angleVariation: 360; magnitudeVariation: 100;} } MouseArea { diff --git a/examples/particles/imageparticle/sharing.qml b/examples/particles/imageparticle/sharing.qml index 27e08322d9..d1a516fc49 100644 --- a/examples/particles/imageparticle/sharing.qml +++ b/examples/particles/imageparticle/sharing.qml @@ -122,7 +122,7 @@ Rectangle { lifeSpan: 10000 size: 24 sizeVariation: 8 - speed: AngleDirection { angleVariation: 360; magnitude: 3 } + velocity: AngleDirection { angleVariation: 360; magnitude: 3 } maximumEmitted: 10 startTime: 5000 } diff --git a/examples/particles/imageparticle/sprites.qml b/examples/particles/imageparticle/sprites.qml index 45ff2ebbaf..1e5aaa0f75 100644 --- a/examples/particles/imageparticle/sprites.qml +++ b/examples/particles/imageparticle/sprites.qml @@ -98,7 +98,7 @@ Rectangle { system: sys emitRate: 2 lifeSpan: 10000 - speed: AngleDirection {angle: 90; magnitude: 60; angleVariation: 5} + velocity: AngleDirection {angle: 90; magnitude: 60; angleVariation: 5} acceleration: PointDirection { y: 10 } size: 160 sizeVariation: 40 |