summaryrefslogtreecommitdiffstats
path: root/examples/sensors/grue/import/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sensors/grue/import/main.cpp')
-rw-r--r--examples/sensors/grue/import/main.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/sensors/grue/import/main.cpp b/examples/sensors/grue/import/main.cpp
index 5f6c925c..4191d623 100644
--- a/examples/sensors/grue/import/main.cpp
+++ b/examples/sensors/grue/import/main.cpp
@@ -66,6 +66,7 @@ public:
// Register the 1.0 interfaces
major = 1;
minor = 0;
+ // @uri Grue
qmlRegisterType <GrueSensor >(package, major, minor, "GrueSensor");
qmlRegisterUncreatableType<GrueSensorReading>(package, major, minor, "GrueSensorReading", QLatin1String("Cannot create GrueSensorReading"));
}
@@ -109,6 +110,7 @@ QT_END_NAMESPACE
#include "main.moc"
/*
+ \omit
\qmltype GrueSensor
\instantiates GrueSensor
\inherits Sensor
@@ -119,9 +121,11 @@ QT_END_NAMESPACE
This type wraps the GrueSensor class. Please see the documentation for
GrueSensor for details.
+ \endomit
*/
/*
+ \omit
\qmltype GrueSensorReading
\instantiates GrueSensorReading
\inherits SensorReading
@@ -134,9 +138,12 @@ QT_END_NAMESPACE
GrueSensorReading for details.
This type cannot be directly created.
+ \endomit
*/
/*
+ \omit
\qmlproperty qreal Grue1::GrueSensorReading::chanceOfBeingEaten
Please see GrueSensorReading::chanceOfBeingEaten for information about this property.
+ \endomit
*/