aboutsummaryrefslogtreecommitdiffstats
path: root/demos/declarative/plasmapatrol/content/Sloop.qml
diff options
context:
space:
mode:
Diffstat (limited to 'demos/declarative/plasmapatrol/content/Sloop.qml')
-rw-r--r--demos/declarative/plasmapatrol/content/Sloop.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/declarative/plasmapatrol/content/Sloop.qml b/demos/declarative/plasmapatrol/content/Sloop.qml
index 1b9bce7333..20b60c5621 100644
--- a/demos/declarative/plasmapatrol/content/Sloop.qml
+++ b/demos/declarative/plasmapatrol/content/Sloop.qml
@@ -39,7 +39,7 @@
**
****************************************************************************/
import QtQuick 2.0
-import Qt.labs.particles 2.0
+import QtQuick.Particles 2.0
Item {
id: container
@@ -55,19 +55,19 @@ Item {
property int gunType: 0
width: 128
height: 128
- TrailEmitter{
+ Emitter{
id: emitter
//TODO: Cooler would be an 'orbiting' affector
//TODO: On the subject, opacity and size should be grouped type 'overLife' if we can cram that in the particles
system: container.system
particle: container.shipParticle
- shape: Ellipse{}
+ shape: EllipseShape{}
particlesPerSecond: hp > 0 ? hp + 20 : 0
particleDuration: blinkInterval
maxParticles: (maxHP + 20)
- acceleration: AngleVector{angleVariation: 360; magnitude: 8}
+ acceleration: AngledDirection{angleVariation: 360; magnitude: 8}
particleSize: 24
particleEndSize: 4