summaryrefslogtreecommitdiffstats
path: root/src/sensors/qsensor.h
diff options
context:
space:
mode:
authorThomas McGuire <thomas.mcguire.qnx@kdab.com>2013-01-08 11:55:10 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-23 18:32:14 +0100
commitacd094c6d795a597d3b899633e207d65f79ea746 (patch)
tree5794fe09472804158a97be1f6d62fbaabb1be54e /src/sensors/qsensor.h
parenta001511d8629c05de807f9927c3fa75f5d59a768 (diff)
QAccelerometer: Add AccelerationMode property
Add a new property to be able to toggle effects of gravity on or off. Implement the Blackberry backend side of this as well. QTBUG-25842 Change-Id: I15c4cae72373f48b0153b83c6aa3d27b66538c87 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com> Reviewed-by: Sérgio Martins <sergio.martins.qnx@kdab.com>
Diffstat (limited to 'src/sensors/qsensor.h')
-rw-r--r--src/sensors/qsensor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sensors/qsensor.h b/src/sensors/qsensor.h
index 46d011d3..f142ca4d 100644
--- a/src/sensors/qsensor.h
+++ b/src/sensors/qsensor.h
@@ -104,6 +104,7 @@ public:
AlwaysOn,
GeoValues,
FieldOfView,
+ AccelerationMode,
Reserved = 257 // Make sure at least 2 bytes are used for the enum to avoid breaking BC later
};