summaryrefslogtreecommitdiffstats
path: root/src/imports/sensors
Commit message (Collapse)AuthorAgeFilesLines
...
* Add SensorGesture QtMobility.sensors 1.3Lincoln Ramsay2012-10-085-2/+391
| | | | | | | This has been imported from QtSensors 5.0 without changes. Change-Id: Ie6a919f9b806bf19287a693fb7cdb563f8697e13 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Add TiltSensor to QtMobility.sensors 1.3Lincoln Ramsay2012-10-036-16/+310
| | | | | | | | | | | 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>
* QtMobility.sensors has a new implementationLincoln Ramsay2012-09-2631-829/+4141
| | | | | | | | | This implementation fixes the limitations the original code had and separates the QtSensors C++ API from the QML API so that changes to one don't need to affect the other. Change-Id: I519463f3c7cfbad3bce5c291ce166b8793d5ed4a Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-241-24/+24
| | | | | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: I85014238e262cb59d8d92b0d708851e82e5633da Reviewed-by: Janne Anttila <janne.anttila@digia.com> Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Update qmldir, plugins.qmltypes filesLincoln Ramsay2012-08-243-22/+31
| | | | | | | | | | | 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>
* Doc: Changed \qmlclass to \qmltype and added \instantiatesJerome Pasion2012-07-301-24/+48
| | | | | | | | | | -\qmlclass is now \qmltype -\instantiates is for QML types implemented in C++ Change-Id: I7f1af4eae6ad9d199859911b5ab51696a59a9b36 Reviewed-by: Laszlo Papp <lpapp@kde.org> Reviewed-by: Peter Yard <peter.yard@nokia.com> Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
* Add QSensor::isFeatureSupported()Thomas McGuire2012-07-231-0/+14
| | | | | | | | | | | | Now it is possible to check if a backend supports a specific feature. During reviews of features like acceleration mode or duplicate skipping, the issue was raised how to check if these features are actually supported. The same is true for existing features like QMagnetometer::returnGeoValues. Change-Id: I47115d6c487bbcbb668a9021cdc7085e6780a67c Reviewed-by: Marc Mutz <marc.mutz@kdab.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* use centralized qml plugin project handlingOswald Buddenhagen2012-07-114-44/+4
| | | | | | Change-Id: I6afbc938a3db79f3a27b2b83d72e111e5d03ea9c Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* Use \sa links to link to the C++ documentationThomas McGuire2012-07-021-98/+111
| | | | | | | | This fixes the incorrect grammar in some of the sentences. Change-Id: I013b0ce8afb5d067b97e6980c76103e40e4aa6ed Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com> Reviewed-by: Jeremy Katz <jeremy.katz@nokia.com>
* Fix compilation.Friedemann Kleint2012-06-261-38/+0
| | | | | | | | qmlRegisterUncreatableType actually exists in declarative. Change-Id: Ia75855389fac95537eb6e3d8573db4ff55fad63c Reviewed-by: Lorn Potter <lorn.potter@nokia.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Cleanup last Symbian remnants in QtSensorsalex2012-06-222-20/+0
| | | | | Change-Id: I35eb858cad41167ac6bbbf17e48571965f34f8ca Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Missing minor numbers in versionsLincoln Ramsay2012-06-191-24/+24
| | | | | | Fixes: QTBUG-25926 Change-Id: I3a2942b13a9d335a9c564b23cb4a79241d6895af Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
* Docs: change QML elements to QML types in docs.Peter Yard2012-06-191-83/+83
| | | | | Change-Id: I54a9a1972978f1d989d262f137b5890d1feb35e0 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Don't initialize sensors from registerTypes().Lincoln Ramsay2012-06-131-3/+0
| | | | | | | | This function gets called on a different thread... we don't really want that so just don't do that. Change-Id: I58dc0c0bc8d54221a0b6fd306552b67e2abf0235 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Changes so that sensor.start() does not block (QML)Lincoln Ramsay2012-04-201-0/+3
| | | | | | | | | | | | | | The C++ library tries to delay things as much as possible. It turns out that doing this for QML is not optimal because it means calling sensor.start() can block for a long time (up to hundreds of milliseconds in worst case scenarious). If the sensor is started after the UI is visible, this will cause a stutter. The workaround is not particularly elegant. We force the sensors library to do its setup while the QML plugin is being loaded. Change-Id: Iae945ccb79eb568c5decbfdf8a5d623cd96e9d6b Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
* fix up documentation according to the doc guys.Lorn Potter2012-03-291-12/+12
| | | | | | Change-Id: I417e3c57e986f9364f25d5a0e742bd31833de283 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Add .qmltypes files for Creator.Lincoln Ramsay2012-03-283-3/+271
| | | | | | | | | | Only doing this for the actual QML APIs, not the examples ones. Can run make rebuild_qmltypes from a build directory to rebuild the .qmltypes files automatically. Change-Id: Ie1253646dde25861673c303b015a9ba9a4f0fbe3 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Update QML plugins to the new style.Lincoln Ramsay2012-03-163-2/+5
| | | | | Change-Id: Ie419b58c4789e539be5370dc0b7d2518009bbe91 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Rename declarative symbols.Lincoln Ramsay2012-03-082-14/+14
| | | | | | | Use the script rename-qtdeclarative-symbols.sh. Change-Id: Ib1a62731a6c95590978a488c4afbd804f14fb958 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Remove "All rights reserved" line from license headers.Jason McDonald2012-01-301-1/+1
| | | | | | | | | | | As in the past, to avoid rewriting various autotests that contain line-number information, an extra blank line has been inserted at the end of the license text to ensure that this commit does not change the total number of lines in the license header. Change-Id: I1ecfbf66a49bb91dd995d92c871ca36148adc645 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update obsolete contact address.Jason McDonald2012-01-231-1/+1
| | | | | | | | Replace Nokia contact email address with Qt Project website. Change-Id: Ie8628548cde5d3b251f319cbb6f33e6c08852d9e Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* alwaysOn for legacy QML elementsLincoln Ramsay2012-01-131-25/+66
| | | | | | | | | You must use QtMobility.sensors 1.3 to get alwaysOn Use apprpriate namespacing to avoid collisions with the QtSensors 5 elements. Change-Id: If0f6dfff116d7de8a6de403b2d7c75ffd48b03b8 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
* Update copyright year in license headers.Jason McDonald2012-01-051-1/+1
| | | | | | Change-Id: I7fdedc329cf80f84f1f6e0c6c9da3f7d1ebcd70d Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* QtSensors: Compile on Windows.Friedemann Kleint2011-10-101-1/+1
| | | | | | | | | Add missing modules, re-introduce timestamp function. Change-Id: I0edbe8b012accfec5d619d53ebf136e75b99a456 Reviewed-on: http://codereview.qt-project.org/6072 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* update legacy QML API docsLincoln Ramsay2011-10-101-11/+61
| | | | | | | | Fixes: MTMW-300 Change-Id: I7633acaa03ffa4e7413ab2a22cef463bd3e95fda Reviewed-on: http://codereview.qt-project.org/5904 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Rename the sensors import.Lincoln Ramsay2011-10-102-5/+50
| | | | | | | | | | | These legacy elements will be exported to the QtMobility.sensors namespace. The IR proximity sensor is added to new version 1.3. 1.1 and 1.2 continue to work. Change-Id: Ic25f2e8bf189f396ab2185d85d12be3b3ceb69de Fixes: MTMW-299 Reviewed-on: http://codereview.qt-project.org/5353 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* MTMW-98 QML API Version 2Wolfgang Beck2011-10-101-49/+71
| | | | | | Change-Id: I10c610ae22974d291fad663088c5a11449a86b05 Reviewed-on: http://codereview.qt-project.org/4107 Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* Add the IR Proximity sensor to the QML pluginLincoln Ramsay2011-10-101-0/+3
| | | | | | | | | | Needed for compatibility with the unofficial presence of IR Proximity in Mobility 1.2 Change-Id: I3fb1b8febb6137dadae37b6065cf04c6ddd21eb6 Reviewed-on: http://codereview.qt-project.org/4303 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Reset the version to 1.0Lincoln Ramsay2011-08-291-23/+4
| | | | | | | Change-Id: I606bed710e5546a4f33c885dfafb033ce8f1d002 Reviewed-on: http://codereview.qt.nokia.com/3693 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Add a QML plugin that uses QtmSensors.Lincoln Ramsay2011-08-251-1/+1
| | | | | | | | | This will provide legacy import capability. Change-Id: I68e573b7eca10bffec16a24f4b76a40c64b9a7e0 Reviewed-on: http://codereview.qt.nokia.com/3351 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
* Apply a consistent license on all the filesLincoln Ramsay2011-08-051-2/+2
| | | | | | Change-Id: I9d04e244df0abcf1aa5aa43ac2057fe2c40e2eb9 Reviewed-on: http://codereview.qt.nokia.com/2594 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
* Fix copy2build output path for QML plugin.Xizhi Zhu2011-06-272-1/+39
|
* Update licenseheader text in source files for qtsensors Qt moduleJyri Tahtela2011-05-241-17/+17
| | | | | | | Updated version of LGPL and FDL licenseheaders. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* Fix Qt coding style issues (no white space at end of line)Alex2011-05-231-2/+2
|
* Add sensor's declarative pluginAlex2011-05-233-0/+758