From 70c2dd24800527908e92fb0ce181b939dbd6141e Mon Sep 17 00:00:00 2001 From: Paul Wicking Date: Wed, 10 Jul 2019 11:31:55 +0200 Subject: 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 --- src/sensors/doc/src/qtsensors-cpp.qdoc | 2 +- src/sensors/qcompass.cpp | 2 +- 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 b0d2726f..d732a0dd 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 5177a177..19659343 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} */ -- cgit v1.2.3