aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2012-04-18 14:21:46 +1000
committerQt by Nokia <qt-info@nokia.com>2012-04-23 11:14:36 +0200
commit6fe0263b25475199808fc5633fbcacc06162af2a (patch)
tree98703d875500b195de29023d3697773f38e269da /doc
parent42e93ffffa23b466f6641f86de18e6a7dd71166c (diff)
Doc Fix
More emphasis on what imports are needed for specialty elements. Change-Id: Ia24ac97bb77ed57c313a5120b0fbd02b6fcaa4a8 Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/src/particles/particles.qdoc11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/src/particles/particles.qdoc b/doc/src/particles/particles.qdoc
index d51bcdf11f..be7d65ba17 100644
--- a/doc/src/particles/particles.qdoc
+++ b/doc/src/particles/particles.qdoc
@@ -31,7 +31,10 @@
\brief Elements for the Qt Quick particle system
- This QML module contains a particle system for Qt Quick.
+ This QML module contains a particle system for Qt Quick. To use these elements, you will need to import the module with the following line:
+ \code
+ import QtQuick.Particles 2.0
+ \endcode
For a simple overview of how the system can be used, see \l{qml-particlesystem.html}{Using the Qt Quick Particle System}.
@@ -44,6 +47,12 @@
\inqmlmodule QtQuick.Particles 2
\title Using the Qt Quick Particle System
+
+ Note that to use elements from the particles module, you will need to import the types with the following line:
+ \code
+ import QtQuick.Particles 2.0
+ \endcode
+
\section1 The ParticleSystem
This particle system contains four main types of QML Elements: ParticleSystem, Painters, Emitters and Affectors.