summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* remove qmobilitypluginsearch and use the QFactoryLoader instead.Lorn Potter2011-11-1421-231/+94
| | | | | | Change-Id: Ifdd2031d309a5ac4cbeedc5d7cdb6ba9cbb845c3 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com> Sanity-Review: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Add QtSensorGesture QML APIWolfgang Beck2011-11-1027-7/+1941
| | | | | | Change-Id: Iaa0a875941316c341d69f473eeba3be4a87ec736 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* add documentation to sensor gesture c++ exampleLorn Potter2011-11-096-20/+191
| | | | | | | | Also make the example app a bit more informative and useful. Change-Id: I9e74d12c7d762df46355467670f0b9b41e7b3b5c Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* make one public way to control recognizerLorn Potter2011-11-092-5/+5
| | | | | | | | | | | Since pointers to the recognizers can be gotten from the manager, the methods to control the recognizers that have reference counting should be the public accessable ones. Make the virtual methods protected. Change-Id: I176315272ded9d5917133ec7cd329c537445b190 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com> Reviewed-by: Alex <alex.blasche@nokia.com>
* Make TiltSensor 100% code coverageWolfgang Beck2011-11-092-12/+67
| | | | | | Change-Id: If769dc2f6b8652f3b1cbbd532cd11498a65c2317 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* add more code coverage.Lorn Potter2011-11-083-12/+43
| | | | | | | | | qt_metacast was not tested. add Q_ASSERT instead of conditional checking for object. Change-Id: Ib8eaa0583d0f8f71b144941a34b1fe9109e85b7a Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* No need for a QML module when there's no docsLincoln Ramsay2011-11-041-11/+1
| | | | | | | | | The GrueSensor example no longer builds API docs so this module definition page isn't needed. Change-Id: I6263423ba756c2b5b70547d6c762ff664ef99377 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Peter Yard <peter.yard@nokia.com>
* add invalidIds, remove redundant isValid, rename availableIds to validIdsLorn Potter2011-11-034-23/+32
| | | | | | Change-Id: I9677535dde72e771b943fa1b0522689c34336824 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* make sure recognizers do not need pluginLorn Potter2011-11-032-1/+9
| | | | | | Change-Id: Id3deaca92019c964d0d093cc2b04bf1eb043fbbf Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* make sure newSensorGestureAvailable gets signaledLorn Potter2011-11-034-3/+10
| | | | | | | | signaling needs to begin in the backend singleton Change-Id: I63453a919a0b5c9e1f093c6269bdfc171a592af9 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Don't actually document Grue Sensor things.Lincoln Ramsay2011-11-032-13/+13
| | | | | | | | If we do this, qdoc puts these things into global indexes which is not good. Change-Id: I0d46ce74de1067bbd3a9af25f73f9bc94d919ff3 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Peter Yard <peter.yard@nokia.com>
* Fixed sensors' exports on WindowsOliver Wolff2011-11-011-1/+1
| | | | | | | Change-Id: I27a08cd717e5fc64232dc7b1dccf4fcfee4fc16c Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Alex <alex.blasche@nokia.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* add QSensorGestures API. Long live QSensorGestures!Lorn Potter2011-11-0153-5/+4252
| | | | | | Change-Id: Iada4e8888aad8b7b2180cc0bfb8576a766f75b24 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Do not unload plugins.Lincoln Ramsay2011-10-311-5/+0
| | | | | | | | | | | It turns out that unloading Qt plugins breaks as soon as you get dependencies on your code. This is particularly obvious when you use Q_GLOBAL_STATIC because the destructors fire in an arbitrary order. Change-Id: If4fc9a0ca6a2c914c34559b7af84dc0fdb0e76e7 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Get the simulator backend goingLincoln Ramsay2011-10-2810-157/+131
| | | | | | Change-Id: Idbb4ba7b97be38f74f3a74e5d54c15209d5a788a Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
* These are system tests. Allow suppressing them.Lincoln Ramsay2011-10-282-2/+2
| | | | | | Change-Id: I107b90658304d44fe7fb0b885ae47e26df7be6d1 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
* Add missing test coverage for QIRProximitySensorLincoln Ramsay2011-10-282-0/+8
| | | | | | | Change-Id: I77a8a457d485f76853512063eeae15838929db0a Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com> Sanity-Review: Zsolt Simon <zsolt.simon@nokia.com>
* Revert temporary Q_SENSORS_EXPORT_TEMPalex2011-10-2120-53/+53
| | | | | | | | Q_SENSORS_EXPORT_TEMP was used while the normal macro was removed from qglobal.h. Change-Id: I55bf788e9beab5b060b9e24ee2a815ce3d9bc2a4 Reviewed-by: Alex <alex.blasche@nokia.com>
* Remove obsolete \since statements.alex2011-10-2013-13/+0
| | | | | Change-Id: I7c72145f911238966b92f1846072bf1cee72a631 Reviewed-by: Alex <alex.blasche@nokia.com>
* Remove auto generated section in qmlproject filesWolfgang Beck2011-10-193-6/+0
| | | | | Change-Id: I483555c82c4cb1477bb14a885d92625b320ec973 Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* Fix test running under OBS.Lincoln Ramsay2011-10-191-96/+96
| | | | | | | | | Remove the assumptions that break between i586 and ARMv5. Cleanup code by replacing C-style casts with C++ casts. Remove redundant QVariant() wrappers. Change-Id: Ie6fd4be1c04c2c725aa7c8e87c1de261c7750cd8 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* MTMW-306 Update cubehouse exampleWolfgang Beck2011-10-1835-8640/+421
| | | | | Change-Id: I473898a4a6a46c89edb7d7b6ada7027dd9ae96d6 Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* license headersLincoln Ramsay2011-10-184-8/+8
| | | | | Change-Id: I9450e0d273675a3b93d103acfc1af73a04037217 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Fix linking of the grue sensor exampleLincoln Ramsay2011-10-182-2/+2
| | | | | | | | This got through the CI gate because it doesn't test shadow building. Change-Id: I690c3342a207662463b154e439d9a4faf3ea2002 Reviewed-by: Daniel Kovacic <daniel.kovacic@nokia.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* First step of removal of Q_SENSORS_EXPXORT macro from qglobal.halex2011-10-1721-47/+125
| | | | | | | | | Each module handles its own exports. We need to change the QtSensors version, remove the qglobal.h define and then add it back under the old name in QtSensors. Change-Id: I4183b7fcfc46469745c11c373d3122f02d64ccc7 Reviewed-by: Alex <alex.blasche@nokia.com>
* Added QML sensor elements system testDaron Andrew Edie2011-10-141-0/+204
| | | | | | Change-Id: I9daa56d7300fe2f98ccb98a6371bfd624f5696a3 Reviewed-on: http://codereview.qt-project.org/4720 Reviewed-by: Daron Andrew Edie
* MTMW-347 Replace dataRate with speed in TltSensorWolfgang Beck2011-10-145-33/+254
| | | | | | Change-Id: Icdca79436d1fe0f0e7f5035ab1e27bc958a9e517 Reviewed-on: http://codereview.qt-project.org/6634 Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* doc updateLincoln Ramsay2011-10-111-1/+1
| | | | | | | Change-Id: I2ae842a5500f87395795301bad9b83b07202ff92 Reviewed-on: http://codereview.qt-project.org/6390 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Add missing info for Grue Sensor exampleLincoln Ramsay2011-10-111-2/+9
| | | | | | | Change-Id: I1f7f88c28cd663d3717320926c086829243db7b2 Reviewed-on: http://codereview.qt-project.org/6378 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* make the grue sensor icon stand out betterLincoln Ramsay2011-10-112-0/+0
| | | | | | | Change-Id: Ifa2c2df6614f136efbfccdf0cc50e6a05785ecd5 Reviewed-on: http://codereview.qt-project.org/6291 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* grue sensor doesn't build under device build systemLincoln Ramsay2011-10-101-11/+0
| | | | | | | | | | this copy logic won't work anyway... the qmldir file is installed properly by make install so just use that. Change-Id: I26bba4313901cbe1744a32b17966211ef70ad03a Reviewed-on: http://codereview.qt-project.org/6290 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* update license headersLincoln Ramsay2011-10-1055-260/+257
| | | | | | | 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>
* Grue Sensor installation and device testing.Lincoln Ramsay2011-10-107-14/+43
| | | | | | | | | | Some installation things needed to be tweaked. Appearance on devices needed to be updated. Change-Id: I62ab94212ff1ee8b3778f4492e60b33b29d68927 Reviewed-on: http://codereview.qt-project.org/6225 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Sensors "porting" guide.Lincoln Ramsay2011-10-103-17/+130
| | | | | | | Change-Id: Ie471fcb632d3cfc581076c36b1c9bfc78c2b4d22 Reviewed-on: http://codereview.qt-project.org/6211 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* MTMW-345-346 CR change for TiltSensorWolfgang Beck2011-10-1013-363/+431
| | | | | | | Change-Id: I735e0a6ab3aaad4290216c8501e8be684f7d0e6b Reviewed-on: http://codereview.qt-project.org/5938 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* MTMW356 Coderevew changes for the AmbientLightSensor QML ElementWolfgang Beck2011-10-104-80/+63
| | | | | | | Change-Id: Ic5ceb21897fdf65ca611ad5ff4c7ac397b44547c Reviewed-on: http://codereview.qt-project.org/5664 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* Grue Sensor exampleLincoln Ramsay2011-10-1023-143/+482
| | | | | | | | | | Updated, documented as an example. Now with a QML import and a QML app. Fixes: MTMW-85 Change-Id: I06772cf4a07ea0d2ec7bfccda6e8f51b5d866c20 Reviewed-on: http://codereview.qt-project.org/6016 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* MTMW-357 Codereview changes for ProximitySensor QML ElementWolfgang Beck2011-10-104-43/+35
| | | | | | | | Change-Id: I5ded985ad4ea99fa7691c6b06bd233acdc517332 Reviewed-on: http://codereview.qt-project.org/5661 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Michael Brasser <michael.brasser@nokia.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* QtSensors: Compile on Windows.Friedemann Kleint2011-10-105-7/+31
| | | | | | | | | 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 the front page.Lincoln Ramsay2011-10-106-154/+246
| | | | | | | | | Link to topics in a more controlled manner. Change-Id: I6e3ec3d6c5920be66b628d954b470685764fdd33 Reviewed-on: http://codereview.qt-project.org/6024 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* This is not preliminary code.Lincoln Ramsay2011-10-101-3/+0
| | | | | | | | | Fixes: MTMW-364 Change-Id: I77d677f98cd31000feb08bc88310fa1ef0c62dcf Reviewed-on: http://codereview.qt-project.org/5954 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Another link to QtSensorsLincoln Ramsay2011-10-101-0/+2
| | | | | | | | | | | This link comes from the Qt and Key Technologies page. Since it's a group, the link is created from this side. Change-Id: I26fe3b6c1ef1da7574b7b9cd65c62071e4cfdaeb Fixes: MTMW-361 Reviewed-on: http://codereview.qt-project.org/5908 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-103-17/+72
| | | | | | | | 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>
* Getting some structure into the sensors docs.Lincoln Ramsay2011-10-107-829/+127
| | | | | | | | | | | | QtSensors is a landing page (from the Modules index). There's a QtSensors Examples page that has all the examples on it. The QtSensors page links off to the C++ and QML API pages. More to do but this is a good start. Change-Id: I2b795a759490e712137024101a630193d2d26033 Reviewed-on: http://codereview.qt-project.org/5589 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* MTMW-337 Unit test (presence of each new QML API element)Wolfgang Beck2011-10-104-3/+137
| | | | | | | Change-Id: Ie0efa681cff6cce4ec2b75b25fcd8cdb45cd03bd Reviewed-on: http://codereview.qt-project.org/5568 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* This file was clobbered, restore it.Lincoln Ramsay2011-10-101-11/+484
| | | | | | | | | | Change e18966f74c8c81f9d44bc1df7c1051f38a2e7162 clobbered this file, removing most of its contents. Restore them. Change-Id: I1d551439cc793121b5e74e98567e9ba2b1729bb2 Reviewed-on: http://codereview.qt-project.org/5566 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Fix missing/outdated license headers.Jason McDonald2011-10-1010-11/+372
| | | | | | | Change-Id: I92a025f4ef48915d19c3ea1599cebb2876161925 Reviewed-on: http://codereview.qt-project.org/5504 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Add a unit test for legacy sensor QML elementsLincoln Ramsay2011-10-103-0/+166
| | | | | | | | | | | The unit test verifies that versions exist and that certain elements are available (or not) in particular versions. Change-Id: Idc00b10cd72b0e438e7e4229f0bdc959798033e0 Fixes: MTMW-299 Reviewed-on: http://codereview.qt-project.org/5354 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>
* Remove debugging statements, use QCOMPARELincoln Ramsay2011-10-101-18/+10
| | | | | | | | | | QCOMPARE ensures that failures are reported more clearly. Change-Id: Iff2ce4550c546f40ff2dd420a4440b79ecdf61a4 Fixes: MTMW-339 Reviewed-on: http://codereview.qt-project.org/5436 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>