aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/particles/qsgparticleaffector_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/particles/qsgparticleaffector_p.h')
-rw-r--r--src/declarative/particles/qsgparticleaffector_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/particles/qsgparticleaffector_p.h b/src/declarative/particles/qsgparticleaffector_p.h
index c46164de5c..bc6864e415 100644
--- a/src/declarative/particles/qsgparticleaffector_p.h
+++ b/src/declarative/particles/qsgparticleaffector_p.h
@@ -52,7 +52,7 @@ QT_BEGIN_NAMESPACE
QT_MODULE(Declarative)
-class QSGParticleAffector : public QSGItem
+class QSGParticleAffector : public QQuickItem
{
Q_OBJECT
Q_PROPERTY(QSGParticleSystem* system READ system WRITE setSystem NOTIFY systemChanged)
@@ -63,7 +63,7 @@ class QSGParticleAffector : public QSGItem
Q_PROPERTY(QSGParticleExtruder* shape READ shape WRITE setShape NOTIFY shapeChanged)
public:
- explicit QSGParticleAffector(QSGItem *parent = 0);
+ explicit QSGParticleAffector(QQuickItem *parent = 0);
virtual void affectSystem(qreal dt);
virtual void reset(QSGParticleData*);//As some store their own data per particle?
QSGParticleSystem* system() const