From 5df94d89033e7bbb3f41840a4c07a628ed66b4d5 Mon Sep 17 00:00:00 2001 From: Alan Alpert Date: Mon, 25 Jun 2012 12:01:46 +1000 Subject: 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 --- src/particles/qquickv8particledata.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/particles/qquickv8particledata.cpp') diff --git a/src/particles/qquickv8particledata.cpp b/src/particles/qquickv8particledata.cpp index eb9881ee78..296797f606 100644 --- a/src/particles/qquickv8particledata.cpp +++ b/src/particles/qquickv8particledata.cpp @@ -172,14 +172,14 @@ QT_BEGIN_NAMESPACE */ /*! - \qmlproperty real QtQuick.Particles2::Particle::rotationSpeed + \qmlproperty real QtQuick.Particles2::Particle::rotationVelocity Degrees clockwise per second that the particle image is rotated at while alive. */ /*! \qmlproperty bool QtQuick.Particles2::Particle::autoRotate If autoRotate is true, then the particle's rotation will be set so that it faces the direction of travel, plus any - rotation from the rotation or rotationSpeed properties. + rotation from the rotation or rotationVelocity properties. */ /*! @@ -409,7 +409,7 @@ FLOAT_GETTER_AND_SETTER(xy) FLOAT_GETTER_AND_SETTER(yx) FLOAT_GETTER_AND_SETTER(yy) FLOAT_GETTER_AND_SETTER(rotation) -FLOAT_GETTER_AND_SETTER(rotationSpeed) +FLOAT_GETTER_AND_SETTER(rotationVelocity) FLOAT_GETTER_AND_SETTER(animIdx) FLOAT_GETTER_AND_SETTER(frameDuration) FLOAT_GETTER_AND_SETTER(frameAt) @@ -448,7 +448,7 @@ QV8ParticleDataDeletable::QV8ParticleDataDeletable(QV8Engine *engine) REGISTER_ACCESSOR(ft, engine, yx, yDeformationVectorX); REGISTER_ACCESSOR(ft, engine, yy, yDeformationVectorY); REGISTER_ACCESSOR(ft, engine, rotation, rotation); - REGISTER_ACCESSOR(ft, engine, rotationSpeed, rotationSpeed); + REGISTER_ACCESSOR(ft, engine, rotationVelocity, rotationVelocity); REGISTER_ACCESSOR(ft, engine, autoRotate, autoRotate); REGISTER_ACCESSOR(ft, engine, animIdx, animationIndex); REGISTER_ACCESSOR(ft, engine, frameDuration, frameDuration); -- cgit v1.2.3