summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJerome Pasion <jerome.pasion@nokia.com>2012-07-27 18:54:07 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-30 10:58:09 +0200
commite262958d8d70a22463953f5e22f38406e491efe2 (patch)
tree167caf867e816aded6a60772f5b9f004b76e9592 /examples
parent28182dc36466261be30d72037540244b104c3ec7 (diff)
downloadqtsensors-e262958d8d70a22463953f5e22f38406e491efe2.tar.gz
Doc: Changed \qmlclass to \qmltype and added \instantiates
-\qmlclass is now \qmltype -\instantiates is for QML types implemented in C++ Change-Id: I7f1af4eae6ad9d199859911b5ab51696a59a9b36 Reviewed-by: Laszlo Papp <lpapp@kde.org> Reviewed-by: Peter Yard <peter.yard@nokia.com> Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/sensors/grue/import/main.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/sensors/grue/import/main.cpp b/examples/sensors/grue/import/main.cpp
index d8a6d5a..792f7e5 100644
--- a/examples/sensors/grue/import/main.cpp
+++ b/examples/sensors/grue/import/main.cpp
@@ -109,7 +109,8 @@ QT_END_NAMESPACE
#include "main.moc"
/*
- \qmlclass GrueSensor GrueSensor
+ \qmltype GrueSensor
+ \instantiates GrueSensor
\inherits QtMobility.sensors1::Sensor
\inqmlmodule Grue 1
\brief The GrueSensor type reports on your chance of being eaten by a Grue.
@@ -123,7 +124,8 @@ QT_END_NAMESPACE
*/
/*
- \qmlclass GrueSensorReading GrueSensorReading
+ \qmltype GrueSensorReading
+ \instantiates GrueSensorReading
\inherits QtMobility.sensors1::SensorReading
\inqmlmodule Grue 1
\brief The GrueSensorReading type holds the most recent GrueSensor reading.