summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2019-07-10 11:31:55 +0200
committerPaul Wicking <paul.wicking@qt.io>2019-07-11 18:14:43 +0000
commit70c2dd24800527908e92fb0ce181b939dbd6141e (patch)
treebe1d11b5cb3d3b6eda8d0c21206e692fed29f316
parent777204e439c8edd35e021a73cddd80f4c85ef4f5 (diff)
downloadqtsensors-70c2dd24800527908e92fb0ce181b939dbd6141e.tar.gz
Doc: Prefer public over private API in links
This change uses the public API and removes references to private API. Task-number: QTBUG-76978 Change-Id: Ifd53dc520a38ff87b12271b7b446fd42753bb7f3 Reviewed-by: Sze Howe Koh <szehowe.koh@gmail.com>
-rw-r--r--src/sensors/doc/src/qtsensors-cpp.qdoc2
-rw-r--r--src/sensors/qcompass.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/sensors/doc/src/qtsensors-cpp.qdoc b/src/sensors/doc/src/qtsensors-cpp.qdoc
index b0d2726..d732a0d 100644
--- a/src/sensors/doc/src/qtsensors-cpp.qdoc
+++ b/src/sensors/doc/src/qtsensors-cpp.qdoc
@@ -56,7 +56,7 @@ Where rotation around an axis is used, the rotation shall be expressed as a Righ
\image sensors-coordinates3.jpg
-In general, sensor data is oriented relative to \l QPlatformScreen::nativeOrientation,
+In general, sensor data is oriented relative to \l QScreen::nativeOrientation,
that is to the top of the device when the device is held in its natural orientation
(normally when the device logo appears the right side up). If values are to be
displayed on the screen, the values may need to be transformed so that they match
diff --git a/src/sensors/qcompass.cpp b/src/sensors/qcompass.cpp
index 5177a17..1965934 100644
--- a/src/sensors/qcompass.cpp
+++ b/src/sensors/qcompass.cpp
@@ -74,7 +74,7 @@ IMPLEMENT_READING(QCompassReading)
\brief the azimuth of the device.
Measured in degrees from magnetic north in a clockwise direction based on
- the top of the device, as defined by QPlatformScreen::nativeOrientation.
+ the top of the device, as defined by QScreen::nativeOrientation.
\sa {QCompassReading Units}
*/