summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVenugopal Shivashankar <venugopal.shivashankar@digia.com>2015-09-29 11:44:03 +0200
committerVenugopal Shivashankar <venugopal.shivashankar@digia.com>2015-10-05 11:17:45 +0000
commit27d8477d00aef6508ff2a9b9cc722daf254f6b42 (patch)
tree2474989f88566601cadb2554800353ab1e3ae0b4 /src
parent556c25d95adc43d9d7e4532ab23118ba125f8a5a (diff)
Doc: Added \section1 before the auto-generated list of QML types
To avoid a qdoc warning about the QML snippet structure, commented out the line with '...' in \qml \endqml block. Change-Id: I5f2124f374c441f8aac64322df251c70ba3cba3a Reviewed-by: Martin Smith <martin.smith@digia.com> Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/sensors/doc/src/qtsensors5.qdoc8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/sensors/doc/src/qtsensors5.qdoc b/src/sensors/doc/src/qtsensors5.qdoc
index 69e7abb0..bf7fa982 100644
--- a/src/sensors/doc/src/qtsensors5.qdoc
+++ b/src/sensors/doc/src/qtsensors5.qdoc
@@ -51,14 +51,14 @@
If the module is imported into a namespace, some additional methods become available.
- \code
+ \qml
import QtSensors 5.0
- ...
+ // ...
Component.onCompleted: {
var types = QmlSensors.sensorTypes();
console.log(types.join(", "));
}
- \endcode
+ \endqml
The documentation for the module API can be found in SensorGlobal.
@@ -75,4 +75,6 @@
The data from a sensor comes via a reading class.
\annotatedlist qml-sensors_reading
+
+ \section1 All QML Types
*/