summaryrefslogtreecommitdiffstats
path: root/src/imports/sensors2/sensors2.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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-1/+4
| | | | | | | | | | | | | | 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>
* Update QML plugins to the new style.Lincoln Ramsay2012-03-161-4/+1
| | | | | Change-Id: Ie419b58c4789e539be5370dc0b7d2518009bbe91 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Rename declarative symbols.Lincoln Ramsay2012-03-081-3/+3
| | | | | | | 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 QtSensors 5.0 sensorsLincoln Ramsay2012-01-131-4/+5
| | | | | | | | | refactor the enabled and alwaysOn properties into a common base class use appropriate namespacing to avoid collisions with the QtMobility.sensors elements Change-Id: I6ac9f040d226bb648ede5459df2c26b82feff587 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@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>
* Add QtSensorGesture QML APIWolfgang Beck2011-11-101-0/+2
| | | | | | Change-Id: Iaa0a875941316c341d69f473eeba3be4a87ec736 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* update license headersLincoln Ramsay2011-10-101-1/+1
| | | | | | | Change-Id: Ifbbcb23eed144e7ac4a91bc5d132dea32937f93c Reviewed-on: http://codereview.qt-project.org/6275 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
* MTMW-338 New QML El. should be in QtSensors 5.0 importWolfgang Beck2011-10-101-1/+1
| | | | | | | Change-Id: Ic08c60c2c008aefb03c3a6987882e9824713ae58 Reviewed-on: http://codereview.qt-project.org/5420 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* MTMW-98 QML API Version 2Wolfgang Beck2011-10-101-0/+72
Change-Id: I10c610ae22974d291fad663088c5a11449a86b05 Reviewed-on: http://codereview.qt-project.org/4107 Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>