diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-05-26 23:05:28 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-05-26 23:05:28 (GMT) |
commit | d15db788de792815a35547059921d3305d48c119 (patch) | |
tree | cc599d805ac076fa0a67c00c4e1cd27da0307cde /src/declarative/fx/qfxparticles.h | |
parent | a43ea2e6f5feffa44119a54e25a9fffdd435c389 (diff) | |
download | Qt-d15db788de792815a35547059921d3305d48c119.zip Qt-d15db788de792815a35547059921d3305d48c119.tar.gz Qt-d15db788de792815a35547059921d3305d48c119.tar.bz2 |
Remove more unneeded semicolons.
Diffstat (limited to 'src/declarative/fx/qfxparticles.h')
-rw-r--r-- | src/declarative/fx/qfxparticles.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/declarative/fx/qfxparticles.h b/src/declarative/fx/qfxparticles.h index 9f0d04c..6ef2582 100644 --- a/src/declarative/fx/qfxparticles.h +++ b/src/declarative/fx/qfxparticles.h @@ -128,15 +128,15 @@ public: qreal y_var; }; - Q_PROPERTY(int xvariance READ xVariance WRITE setXVariance); + Q_PROPERTY(int xvariance READ xVariance WRITE setXVariance) int xVariance() const { return int(_xvariance * 1000); } void setXVariance(int var) { _xvariance = var / 1000.0; } - Q_PROPERTY(int yvariance READ yVariance WRITE setYVariance); + Q_PROPERTY(int yvariance READ yVariance WRITE setYVariance) int yVariance() const { return int(_yvariance * 1000); } void setYVariance(int var) { _yvariance = var / 1000.0; } - Q_PROPERTY(int pace READ pace WRITE setPace); + Q_PROPERTY(int pace READ pace WRITE setPace) int pace() const { return int(_pace * 1000); } void setPace(int pace) { _pace = pace / 1000.0; } @@ -153,20 +153,20 @@ class Q_DECLARATIVE_EXPORT QFxParticles : public QFxItem { Q_OBJECT - Q_PROPERTY(QString source READ source WRITE setSource); - Q_PROPERTY(int count READ count WRITE setCount); - Q_PROPERTY(int lifeSpan READ lifeSpan WRITE setLifeSpan); - Q_PROPERTY(int lifeSpanDeviation READ lifeSpanDeviation WRITE setLifeSpanDeviation); - Q_PROPERTY(int fadeInDuration READ fadeInDuration WRITE setFadeInDuration); - Q_PROPERTY(int fadeOutDuration READ fadeOutDuration WRITE setFadeOutDuration); - Q_PROPERTY(qreal angle READ angle WRITE setAngle); - Q_PROPERTY(qreal angleDeviation READ angleDeviation WRITE setAngleDeviation); - Q_PROPERTY(qreal velocity READ velocity WRITE setVelocity); - Q_PROPERTY(qreal velocityDeviation READ velocityDeviation WRITE setVelocityDeviation); - Q_PROPERTY(bool streamIn READ streamIn WRITE setStreamIn); - Q_PROPERTY(bool emitting READ emitting WRITE setEmitting); - Q_PROPERTY(QFxParticleMotion *motion READ motion WRITE setMotion); - Q_CLASSINFO("DefaultProperty", "motion"); + Q_PROPERTY(QString source READ source WRITE setSource) + Q_PROPERTY(int count READ count WRITE setCount) + Q_PROPERTY(int lifeSpan READ lifeSpan WRITE setLifeSpan) + Q_PROPERTY(int lifeSpanDeviation READ lifeSpanDeviation WRITE setLifeSpanDeviation) + Q_PROPERTY(int fadeInDuration READ fadeInDuration WRITE setFadeInDuration) + Q_PROPERTY(int fadeOutDuration READ fadeOutDuration WRITE setFadeOutDuration) + Q_PROPERTY(qreal angle READ angle WRITE setAngle) + Q_PROPERTY(qreal angleDeviation READ angleDeviation WRITE setAngleDeviation) + Q_PROPERTY(qreal velocity READ velocity WRITE setVelocity) + Q_PROPERTY(qreal velocityDeviation READ velocityDeviation WRITE setVelocityDeviation) + Q_PROPERTY(bool streamIn READ streamIn WRITE setStreamIn) + Q_PROPERTY(bool emitting READ emitting WRITE setEmitting) + Q_PROPERTY(QFxParticleMotion *motion READ motion WRITE setMotion) + Q_CLASSINFO("DefaultProperty", "motion") public: QFxParticles(QFxItem *parent=0); |