diff options
author | Thomas McGuire <thomas.mcguire.qnx@kdab.com> | 2013-02-01 11:49:18 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-02-08 11:17:38 +0100 |
commit | 270e896a26713cb4d7e7c5703a03413bce76e581 (patch) | |
tree | b805f467bb5c3d57fd5fd1b912ec69b6ab9ba986 /src/imports/sensors/plugins.qmltypes | |
parent | e2bee30ba347f781c9fd635375040604c7270621 (diff) |
Add a QAltimeter class.
Port the Blackberry backend to use it.
Change-Id: I3d3bc1d6fa8b42d3d0d64bcd3245050b67a37dc7
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Diffstat (limited to 'src/imports/sensors/plugins.qmltypes')
-rw-r--r-- | src/imports/sensors/plugins.qmltypes | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/imports/sensors/plugins.qmltypes b/src/imports/sensors/plugins.qmltypes index 78011ee2..b6f724a0 100644 --- a/src/imports/sensors/plugins.qmltypes +++ b/src/imports/sensors/plugins.qmltypes @@ -34,6 +34,17 @@ Module { Property { name: "z"; type: "double"; isReadonly: true } } Component { + name: "QmlAltimeter" + prototype: "QmlSensor" + exports: ["Altimeter 5.1"] + } + Component { + name: "QmlAltimeterReading" + prototype: "QmlSensorReading" + exports: ["AltimeterReading 5.1"] + Property { name: "altitude"; type: "double"; isReadonly: true } + } + Component { name: "QmlAmbientLightSensor" prototype: "QmlSensor" exports: ["AmbientLightSensor 5.0", "AmbientLightSensor 5.1"] |