aboutsummaryrefslogtreecommitdiffstats
path: root/examples/declarative/particles/modelparticles/package.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/particles/modelparticles/package.qml')
-rw-r--r--examples/declarative/particles/modelparticles/package.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/declarative/particles/modelparticles/package.qml b/examples/declarative/particles/modelparticles/package.qml
index d5c104b480..64873802a5 100644
--- a/examples/declarative/particles/modelparticles/package.qml
+++ b/examples/declarative/particles/modelparticles/package.qml
@@ -39,7 +39,7 @@
****************************************************************************/
import QtQuick 2.0
-import Qt.labs.particles 2.0
+import QtQuick.Particles 2.0
import "content"
Rectangle {
@@ -69,7 +69,7 @@ Rectangle {
width: 200; height:200
model: visualModel.parts.list
}
- DataParticle{
+ ModelParticle{
x: 200; width: 200; height:200
model: visualModel.parts.grid
system: sys
@@ -80,11 +80,11 @@ Rectangle {
id: sys
anchors.fill: parent
}
- TrailEmitter{
+ Emitter{
system: sys
width: 100
x: 50
- speed: PointVector{ y: 40 }
+ speed: PointDirection{ y: 40 }
particleDuration: 5000
particlesPerSecond: 1.6
}