summaryrefslogtreecommitdiffstats
path: root/src/sensors
diff options
context:
space:
mode:
authorCasper van Donderen <casper.vandonderen@nokia.com>2012-03-01 19:13:17 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-01 20:10:11 +0100
commit87a6a468c35a557a33de432b784c5911cff561ec (patch)
tree38941a17c03183ae508fb739be531f49e55f4925 /src/sensors
parent1c99076a1f55a28ac6c745d1df05226401f11107 (diff)
Remove the usage of deprecated qdoc macros.
QDoc now has support for Doxygen style commands for italics, bold and list items. This change applies that change in QDoc to the actual documentation. Task-number: QTBUG-24578 Change-Id: I9e809abef666b8498bc481aae9f324b954eff387 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
Diffstat (limited to 'src/sensors')
-rw-r--r--src/sensors/gestures/qsensorgesture.cpp2
-rw-r--r--src/sensors/qrotationsensor.cpp6
-rw-r--r--src/sensors/qsensor.cpp12
-rw-r--r--src/sensors/qtapsensor.cpp4
4 files changed, 12 insertions, 12 deletions
diff --git a/src/sensors/gestures/qsensorgesture.cpp b/src/sensors/gestures/qsensorgesture.cpp
index 16f0b227..e0ed1b82 100644
--- a/src/sensors/gestures/qsensorgesture.cpp
+++ b/src/sensors/gestures/qsensorgesture.cpp
@@ -60,7 +60,7 @@
have their own specific signals, and may be discovered through
QSensorGesture::gestureSignals().
- \bold {Note that QSensorGesture uses a custom meta-object in order to provide
+ \b {Note that QSensorGesture uses a custom meta-object in order to provide
recognizer-specific signals. This means it is not possible to sub-class
QSensorGesture and use Q_OBJECT. Also qobject_cast<QSensorGesture*>(ptr) will
not work.}
diff --git a/src/sensors/qrotationsensor.cpp b/src/sensors/qrotationsensor.cpp
index 9d3b8d42..b2d65e3f 100644
--- a/src/sensors/qrotationsensor.cpp
+++ b/src/sensors/qrotationsensor.cpp
@@ -66,11 +66,11 @@ IMPLEMENT_READING(QRotationReading)
The three angles are applied to the device in the following order.
\list
- \o Right-handed rotation z (-180, 180]. Starting from the y-axis and
+ \li Right-handed rotation z (-180, 180]. Starting from the y-axis and
incrementing in the counter-clockwise direction.
- \o Right-handed rotation x [-90, 90]. Starting from the new
+ \li Right-handed rotation x [-90, 90]. Starting from the new
(once-rotated) y-axis and incrementing towards the z-axis.
- \o Right-handed rotation y (-180, 180]. Starting from the new
+ \li Right-handed rotation y (-180, 180]. Starting from the new
(twice-rotated) z-axis and incrementing towards the x-axis.
\endlist
diff --git a/src/sensors/qsensor.cpp b/src/sensors/qsensor.cpp
index 8c9a79f4..8d670bb7 100644
--- a/src/sensors/qsensor.cpp
+++ b/src/sensors/qsensor.cpp
@@ -159,11 +159,11 @@ static int qoutputrangelist_id = qRegisterMetaType<qoutputrangelist>("qoutputran
The life cycle of a sensor is typically:
\list
- \o Create a sub-class of QSensor on the stack or heap.
- \o Setup as required by the application.
- \o Start receiving values.
- \o Sensor data is used by the application.
- \o Stop receiving values.
+ \li Create a sub-class of QSensor on the stack or heap.
+ \li Setup as required by the application.
+ \li Start receiving values.
+ \li Sensor data is used by the application.
+ \li Stop receiving values.
\endlist
The sensor data is delivered via QSensorReading and its sub-classes.
@@ -848,7 +848,7 @@ QSensorReading::~QSensorReading()
Note that sensor timestamps from different sensors may not be directly
comparable (as they may choose different fixed points for their reference).
- \bold{Note that some platforms do not deliver timestamps correctly}.
+ \b{Note that some platforms do not deliver timestamps correctly}.
Applications should be prepared for occasional issues that cause timestamps to jump
backwards.
*/
diff --git a/src/sensors/qtapsensor.cpp b/src/sensors/qtapsensor.cpp
index 5cf712b1..8d57b8e9 100644
--- a/src/sensors/qtapsensor.cpp
+++ b/src/sensors/qtapsensor.cpp
@@ -149,8 +149,8 @@ void QTapReading::setTapDirection(QTapReading::TapDirection tapDirection)
\brief a value indicating if there was a single or double tap.
\list
- \o true - double tap
- \o false - single tap
+ \li true - double tap
+ \li false - single tap
\endlist
\sa {QTapReading Units}
*/