summaryrefslogtreecommitdiffstats
path: root/src/sensorsquick/qmlaccelerometer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* doc: Update types of QML properties to QML typesDavid Boddie2025-01-281-3/+3
| | | | | | | | | qdoc will soon warn about C++ types in QML property documentation. This change fixes existing documentation to prevent warnings. Pick-to: 6.8 6.9 Change-Id: I4668c94f1ac96bf1a017479f8ff27e53794716d7 Reviewed-by: Lorn Potter <[email protected]>
* Doc: Replace \instantiates with \nativetypePaul Wicking2024-08-201-2/+2
| | | | | | | | | | | Since the implementation of the `\nativetype`-command in QDoc, the `\instantiates`-command is deprecated. Replace the use of the deprecated command in favor of its replacement. Pick-to: 6.8 Task-number: QTBUG-128216 Change-Id: I2afa7a4a10de7e9f06b72fd21782debf3f613ab5 Reviewed-by: Venugopal Shivashankar <[email protected]>
* Use SPDX license identifiersLucie Gérard2022-06-131-38/+2
| | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: I114588b3215fecda3a9127931f17a33bd4ef1edb Reviewed-by: Jörg Bornemann <[email protected]>
* Doc: Fix qdoc warningsVenugopal Shivashankar2021-11-111-2/+2
| | | | | | | | Drop \instantiates entry for QML types that use a private C++ implementation. Change-Id: I9e5cc3365fa28351537118e9062341922896bcb6 Reviewed-by: Topi Reiniö <[email protected]>
* Remove unused QmlSensorReading constructor parameterJuha Vuolle2021-06-221-2/+1
| | | | | | | | | | | The ctor parameter is not used. For clarity it should be mentioned that the memory management of the created 'reading' is done by explicitly parenting the 'reading' in the qmlsensor baseclass. Pick-to: 6.2 Task-number: QTBUG-92505 Change-Id: I4e50bcafa7789f7400364078302339915473a3b1 Reviewed-by: Alex Blasche <[email protected]>
* Add binding support for sensor readingsJuha Vuolle2021-06-211-15/+18
| | | | | | | | | | | | | | | | | | | | | | | | | Many of the sensors' QML "reading" value properties change with high frequency. This makes them candidates to benefit from the more performant bindable support. This commit adds the bindable support for QML sensor 'reading' classes: pressure, gyroscope, tap, compass, proximity, orientation, distance, magnetometer, lid reading, tilt, rotation, humidity, holster, ambient temperature, light sensor, altimeter, IR proximity, accelerometer, ambient light, and sensor reading baseclass (timestamp common to all) In addition to the 'reading' classes, the commit adds bindable support for QmlSensor::reading, as it's change signal is emitted with high frequency, on every sensor reading change. Pick-to: 6.2 Task-number: QTBUG-92513 Task-number: QTBUG-92503 Task-number: QTBUG-92505 Change-Id: I413ddd8a758142b9b93596e55b3bc8c3c2c98252 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Alex Blasche <[email protected]> Reviewed-by: Ivan Solovev <[email protected]>
* Split the Sensors QML plugin into a library and a pluginJuha Vuolle2021-05-261-0/+188
The main changes: - Introduction of new SensorsQuick library with private exports - The original QML plugin loads this new library and does little else - Renamed original 'sensors' plugin as 'declarative_sensors' to provide an idea what it relates to - Renamed library headers as private "_p.h" and added "We mean it" - Changed qmlRegister* calls to QML_ELEMENT macros - Removed files that are generated in Qt6 (qmldir, plugins.qmltypes) Task-number: QTBUG-92530 Change-Id: I18f849adabcc79ac47e67305f78aefeee82801bc Reviewed-by: Fabian Kosmale <[email protected]>