summaryrefslogtreecommitdiffstats
path: root/src/imports
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/imports
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/imports')
-rw-r--r--src/imports/sensors2/qsensor2ambientlight.cpp26
-rw-r--r--src/imports/sensors2/qsensor2gesture.cpp2
-rw-r--r--src/imports/sensors2/qsensor2proximity.cpp2
-rw-r--r--src/imports/sensors2/qsensor2tilt.cpp58
4 files changed, 44 insertions, 44 deletions
diff --git a/src/imports/sensors2/qsensor2ambientlight.cpp b/src/imports/sensors2/qsensor2ambientlight.cpp
index 49f1933f..6a4fe0e1 100644
--- a/src/imports/sensors2/qsensor2ambientlight.cpp
+++ b/src/imports/sensors2/qsensor2ambientlight.cpp
@@ -52,7 +52,7 @@ QT_BEGIN_NAMESPACE
\since QtSensors 5.0
\brief The AmbientLightSensor element provides easy access to determine the ambient light by using the ambient light sensor.
- This element is part of the \bold{QtSensors 5} module.
+ This element is part of the \b{QtSensors 5} module.
*/
QSensor2AmbientLight::QSensor2AmbientLight(QObject* parent)
: qsensor2common(parent)
@@ -73,23 +73,23 @@ QSensor2AmbientLight::~QSensor2AmbientLight()
\table
\row
- \o AmbientLightSensor.Unknown
- \o Ambient light value is not set yet.
+ \li AmbientLightSensor.Unknown
+ \li Ambient light value is not set yet.
\row
- \o AmbientLightSensor.Dark
- \o It is dark.
+ \li AmbientLightSensor.Dark
+ \li It is dark.
\row
- \o AmbientLightSensor.Twilight
- \o It is moderately dark.
+ \li AmbientLightSensor.Twilight
+ \li It is moderately dark.
\row
- \o AmbientLightSensor.Light
- \o It is light (eg. internal lights).
+ \li AmbientLightSensor.Light
+ \li It is light (eg. internal lights).
\row
- \o AmbientLightSensor.Bright
- \o It is bright (eg. outside but in the shade).
+ \li AmbientLightSensor.Bright
+ \li It is bright (eg. outside but in the shade).
\row
- \o AmbientLightSensor.Sunny
- \o It is very bright (eg. direct sunlight).
+ \li AmbientLightSensor.Sunny
+ \li It is very bright (eg. direct sunlight).
\endtable
*/
QSensor2AmbientLight::LightLevel QSensor2AmbientLight::lightLevel()
diff --git a/src/imports/sensors2/qsensor2gesture.cpp b/src/imports/sensors2/qsensor2gesture.cpp
index 0730e565..a1cc39c9 100644
--- a/src/imports/sensors2/qsensor2gesture.cpp
+++ b/src/imports/sensors2/qsensor2gesture.cpp
@@ -53,7 +53,7 @@ QT_BEGIN_NAMESPACE
\since QtSensors 5.0
\brief The SensorGesture element provides notification when sensor gestures are triggered.
- This element is part of the \bold{QtSensors 5} module.
+ This element is part of the \b{QtSensors 5} module.
The following QML code creates a "shake" and "template" SensorGesture QML element.
diff --git a/src/imports/sensors2/qsensor2proximity.cpp b/src/imports/sensors2/qsensor2proximity.cpp
index 0166e175..ac2cf30a 100644
--- a/src/imports/sensors2/qsensor2proximity.cpp
+++ b/src/imports/sensors2/qsensor2proximity.cpp
@@ -52,7 +52,7 @@ QT_BEGIN_NAMESPACE
\since QtSensors 5.0
\brief The ProximitySensor element provides an easy access to determine if the proximity of the mobile user by using the proximity sensor.
- This element is part of the \bold{QtSensors 5} module.
+ This element is part of the \b{QtSensors 5} module.
*/
QSensor2Proximity::QSensor2Proximity(QObject* parent)
diff --git a/src/imports/sensors2/qsensor2tilt.cpp b/src/imports/sensors2/qsensor2tilt.cpp
index e261fe76..f1d8a6a9 100644
--- a/src/imports/sensors2/qsensor2tilt.cpp
+++ b/src/imports/sensors2/qsensor2tilt.cpp
@@ -57,7 +57,7 @@ QT_BEGIN_NAMESPACE
\since QtSensors 5.0
\brief The TiltSensor element provides tilt datas from x and y rotation of the device using the accelerometer sensor.
- This element is part of the \bold{QtSensors 5} module.
+ This element is part of the \b{QtSensors 5} module.
*/
QSensor2Tilt::QSensor2Tilt(QObject* parent)
: qsensor2common(parent)
@@ -143,17 +143,17 @@ void QSensor2Tilt::createRunModeDataRateMap()
\table
\row
- \o TiltSensor.Slow
- \o The sensor runs in slow mode.
- \o Closest available datarate at 2Hz.
+ \li TiltSensor.Slow
+ \li The sensor runs in slow mode.
+ \li Closest available datarate at 2Hz.
\row
- \o TiltSensor.Medium
- \o The sensor runs in medium mode.
- \o Closest available datarate at 10Hz.
+ \li TiltSensor.Medium
+ \li The sensor runs in medium mode.
+ \li Closest available datarate at 10Hz.
\row
- \o TiltSensor.Fast
- \o The sensor runs in fast mode.
- \o Closest available datarate at 20Hz.
+ \li TiltSensor.Fast
+ \li The sensor runs in fast mode.
+ \li Closest available datarate at 20Hz.
\endtable
*/
QSensor2Tilt::Speed QSensor2Tilt::speed()
@@ -198,11 +198,11 @@ void QSensor2Tilt::setEnabled(const bool val)
Returns the unit of the rotation which can be one of:
\table
\row
- \o TiltSensor.Radians
- \o The unit of the rotation angle is radians.
+ \li TiltSensor.Radians
+ \li The unit of the rotation angle is radians.
\row
- \o TiltSensor.Degrees
- \o The unit of the rotation angle is degrees.
+ \li TiltSensor.Degrees
+ \li The unit of the rotation angle is degrees.
\endtable
*/
QSensor2Tilt::Unit QSensor2Tilt::unit()
@@ -225,9 +225,9 @@ void QSensor2Tilt::setUnit(const QSensor2Tilt::Unit val)
\table
\row
- \o
+ \li
\image YAngle.gif
- \o
+ \li
\image YAngleNegative.gif
\endtable
*/
@@ -244,9 +244,9 @@ qreal QSensor2Tilt::yRotation()
Holds the rotation arround the x axis.
\table
\row
- \o
+ \li
\image XAngle.gif
- \o
+ \li
\image XAngleNegative.gif
\endtable
*/
@@ -295,17 +295,17 @@ inline qreal calcRoll(double Ax, double Ay, double Az)
Accuracy 5.5 will notify the client application about an rotation change only if the rotation angle over the X and / or Y axis was changed by 5.5 or more degrees clockwise or anti-clockwise.
\table
- \header \o Rotation \o notify application \o reason
- \row \o 0.2424 \o no \o
- \row \o 4.34234 \o no \o
- \row \o 5.23423 \o no \o
- \row \o 6.34324 \o yes \o because 6.34324 >= 5.5
- \row \o 7.43264 \o no \o
- \row \o 8.24504 \o no \o
- \row \o 9.34653 \o no \o
- \row \o 10.23476 \o no \o
- \row \o 11.43565 \o no \o
- \row \o 12.45645 \o yes \o because 12.45645 - 6.34324 = 6.11321 >= 5.5
+ \header \li Rotation \li notify application \li reason
+ \row \li 0.2424 \li no \li
+ \row \li 4.34234 \li no \li
+ \row \li 5.23423 \li no \li
+ \row \li 6.34324 \li yes \li because 6.34324 >= 5.5
+ \row \li 7.43264 \li no \li
+ \row \li 8.24504 \li no \li
+ \row \li 9.34653 \li no \li
+ \row \li 10.23476 \li no \li
+ \row \li 11.43565 \li no \li
+ \row \li 12.45645 \li yes \li because 12.45645 - 6.34324 = 6.11321 >= 5.5
\endtable
*/
/*!