diff options
author | Lincoln Ramsay <lincoln.ramsay@nokia.com> | 2012-03-02 14:13:39 +1000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-10-03 09:22:38 +0200 |
commit | 4c61854d60fb5d2c68c6dcb1fb5bdf5c0dead3e2 (patch) | |
tree | b41d70a37b8a1ff76c32025d8562a94581a3bd22 /src/imports/sensors2/plugins.qmltypes | |
parent | fb68fb8c052ae08fabed8f49256e79b0d0915fb0 (diff) |
Add TiltSensor to QtMobility.sensors 1.3
This has been adapted from the TiltSensor type in QtSensors 5.0
import but the code there has been split into multiple pieces.
There's a C++ class, a generic backend
and a QML interface.
Change-Id: Ic09465a5f76250a02a13938abe4789958137376f
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'src/imports/sensors2/plugins.qmltypes')
-rw-r--r-- | src/imports/sensors2/plugins.qmltypes | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/imports/sensors2/plugins.qmltypes b/src/imports/sensors2/plugins.qmltypes index 97c9fe37..ea8b5260 100644 --- a/src/imports/sensors2/plugins.qmltypes +++ b/src/imports/sensors2/plugins.qmltypes @@ -56,13 +56,6 @@ Module { prototype: "qsensor2common" exports: ["TiltSensor 5.0"] Enum { - name: "Unit" - values: { - "Radians": 0, - "Degrees": 1 - } - } - Enum { name: "Speed" values: { "Slow": 0, @@ -72,11 +65,8 @@ Module { } Property { name: "yRotation"; type: "double"; isReadonly: true } Property { name: "xRotation"; type: "double"; isReadonly: true } - Property { name: "unit"; type: "Unit" } Property { name: "speed"; type: "Speed" } - Property { name: "accuracy"; type: "double" } Property { name: "settings"; type: "QByteArray" } - Signal { name: "unitChanged"; type: "void" } Signal { name: "yRotationChanged"; type: "void" } Signal { name: "xRotationChanged"; type: "void" } Signal { name: "speedChanged"; type: "void" } |