Remove "All rights reserved" line from license headers.
[profile/ivi/qtdeclarative.git] / examples / declarative / snake / content / Link.qml
index 82e0359..891adaf 100644 (file)
@@ -1,8 +1,7 @@
 /****************************************************************************
 **
-** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (qt-info@nokia.com)
+** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
+** Contact: http://www.qt-project.org/
 **
 ** This file is part of the QtDeclarative module of the Qt Toolkit.
 **
@@ -35,6 +34,7 @@
 **
 **
 **
+**
 ** $QT_END_LICENSE$
 **
 ****************************************************************************/
@@ -96,17 +96,17 @@ Item { id:link
     ParticleSystem {
         width:1; height:1; anchors.centerIn: parent;
         ImageParticle {
-            particles: ["star"]
+            groups: ["star"]
             source: type == 1 ? "pics/blueStar.png" : "pics/redStar.png"
         }
         Emitter {
             id: particles
             anchors.fill: parent
-            particle: "star"
+            group: "star"
             emitRate: 50
-            emitting: false
+            enabled: false
             lifeSpan: 700
-            acceleration: AngledDirection { angleVariation: 360; magnitude: 200 }
+            acceleration: AngleDirection { angleVariation: 360; magnitude: 200 }
         }
     }