diff options
Diffstat (limited to 'src/particles/qquickfriction_p.h')
-rw-r--r-- | src/particles/qquickfriction_p.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/particles/qquickfriction_p.h b/src/particles/qquickfriction_p.h index 13ba715e88..9b3d95df90 100644 --- a/src/particles/qquickfriction_p.h +++ b/src/particles/qquickfriction_p.h @@ -66,18 +66,18 @@ public: protected: virtual bool affectParticle(QQuickParticleData *d, qreal dt); -signals: +Q_SIGNALS: void factorChanged(qreal arg); void thresholdChanged(qreal arg); -public slots: +public Q_SLOTS: void setFactor(qreal arg) { if (m_factor != arg) { m_factor = arg; - emit factorChanged(arg); + Q_EMIT factorChanged(arg); } } @@ -85,7 +85,7 @@ public slots: { if (m_threshold != arg) { m_threshold = arg; - emit thresholdChanged(arg); + Q_EMIT thresholdChanged(arg); } } |