summaryrefslogtreecommitdiff
path: root/src/sensors
diff options
context:
space:
mode:
authorJuha Vuolle <juha.vuolle@qt.io>2023-02-17 13:40:13 +0200
committerJuha Vuolle <juha.vuolle@qt.io>2023-02-22 08:37:59 +0200
commitf5426ddda0c8e022d55290de70f96cb4db1801bb (patch)
treead5cf038654f1a69ad1e86aea12bc1513a699202 /src/sensors
parent20373cfd4019c66884fb63a4316b1c60ede089ca (diff)
downloadqtsensors-f5426ddda0c8e022d55290de70f96cb4db1801bb.tar.gz
Move sensor_explorer QML example to manual tests
The example is useful as a sensor testing tool, but less necessary as an example. The primary demonstrative element of the example was how to iterate the available sensors, which is covered in a documentation snippet (followup commit). This commit also renames the pre-existing widget-based sensor_explorer manual test to avoid name conflicts, as well as removes the qdoc and qmake support from the now-a-manual-test application. Task-number: QTBUG-110939 Pick-to: 6.5 Change-Id: I422f62f852d0a7e40a76f555ec8aa98404164f7a Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'src/sensors')
-rw-r--r--src/sensors/qsensor.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/sensors/qsensor.cpp b/src/sensors/qsensor.cpp
index d2f748a..72c58fe 100644
--- a/src/sensors/qsensor.cpp
+++ b/src/sensors/qsensor.cpp
@@ -527,9 +527,6 @@ void QSensor::setSkipDuplicates(bool skipDuplicates)
continuous range of rates.
A discrete rate is noted by having both values the same.
- See the sensor_explorer example for an example of how to interpret and use
- this information.
-
Note that this information is not mandatory as not all sensors have a rate at which
they run. In such cases, the list will be empty.