diff options
author | Lincoln Ramsay <lincoln.ramsay@nokia.com> | 2012-08-17 13:27:36 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-24 05:45:24 +0200 |
commit | 24334742e56d5d44c1f7b35a2c02fe7ac717ce0e (patch) | |
tree | 9fd9f4e3c5d9b11f831c86b5b848ace2acc026a8 /src/imports/sensors2/plugins.qmltypes | |
parent | 875a044317dbaa2f0e4bb6670b663b799b94d082 (diff) | |
download | qtsensors-24334742e56d5d44c1f7b35a2c02fe7ac717ce0e.tar.gz |
Update qmldir, plugins.qmltypes files
We need a module <Foo> now in qmldir files (related to QTBUG-26551).
Also update the rebuild_qmltypes rule so it creates the files
with the correct name.
Change-Id: I0eed30ac88a38f2b3ca83d008f09412544f99343
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
Diffstat (limited to 'src/imports/sensors2/plugins.qmltypes')
-rw-r--r-- | src/imports/sensors2/plugins.qmltypes | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/src/imports/sensors2/plugins.qmltypes b/src/imports/sensors2/plugins.qmltypes index 590bf26..97c9fe3 100644 --- a/src/imports/sensors2/plugins.qmltypes +++ b/src/imports/sensors2/plugins.qmltypes @@ -2,6 +2,8 @@ import QtQuick.tooling 1.1 // This file describes the plugin-supplied types contained in the library. // It is used for QML tooling purposes only. +// +// This file was auto-generated with the command 'qmlplugindump QtSensors 5.0 /home/lramsay/build/qt50/qtbase/imports'. Module { Component { @@ -20,6 +22,7 @@ Module { } } Property { name: "lightLevel"; type: "LightLevel"; isReadonly: true } + Signal { name: "lightLevelChanged"; type: "void" } } Component { name: "QSensor2Gesture" @@ -32,14 +35,21 @@ Module { Property { name: "enabled"; type: "bool" } Signal { name: "detected" + type: "void" Parameter { name: "gesture"; type: "string" } } + Signal { name: "availableGesturesChanged"; type: "void" } + Signal { name: "gesturesChanged"; type: "void" } + Signal { name: "validGesturesChanged"; type: "void" } + Signal { name: "invalidGesturesChanged"; type: "void" } + Signal { name: "enabledChanged"; type: "void" } } Component { name: "QSensor2Proximity" prototype: "qsensor2common" exports: ["ProximitySensor 5.0"] Property { name: "near"; type: "bool"; isReadonly: true } + Signal { name: "nearChanged"; type: "void" } } Component { name: "QSensor2Tilt" @@ -60,18 +70,24 @@ Module { "Fast": 2 } } - Property { name: "yRotation"; type: "qreal"; isReadonly: true } - Property { name: "xRotation"; type: "qreal"; isReadonly: true } + 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: "qreal" } + 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" } Signal { name: "tiltChanged" - Parameter { name: "deltaX"; type: "qreal" } - Parameter { name: "deltaY"; type: "qreal" } + type: "void" + Parameter { name: "deltaX"; type: "double" } + Parameter { name: "deltaY"; type: "double" } } - Method { name: "calibrate" } + Signal { name: "accuracyChanged"; type: "void" } + Method { name: "calibrate"; type: "void" } } Component { name: "qsensor2common" @@ -79,5 +95,7 @@ Module { exports: ["Sensor 5.0"] Property { name: "enabled"; type: "bool" } Property { name: "alwaysOn"; type: "bool" } + Signal { name: "enabledChanged"; type: "void" } + Signal { name: "alwaysOnChanged"; type: "void" } } } |