summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* QIRProximity... classes should be documentedLincoln Ramsay2011-12-191-9/+9
| | | | | | | | | When pulled in, these files had /* instead of /*! markers which qdoc ignores. Change-Id: I346bd0d472ca37ffe460b661edaca522388b46b3 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Add missing QT header macros.Lincoln Ramsay2011-12-1934-1/+82
| | | | | | | | | | | | QT_BEGIN_HEADER QT_BEGIN_NAMESPACE QT_END_NAMESPACE QT_END_HEADER Change-Id: Iac83c311b43b2bba4fd9749027b3cdc91263c5e5 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
* Remove ambientlightsensor dependency from qsensordata_simulatorOliver Wolff2011-12-193-3/+33
| | | | | | Change-Id: I5c2dca9787d1ec176dfb20553920a0347064003f Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Normalize SIGNAL/SLOT macros.Lincoln Ramsay2011-12-151-3/+3
| | | | | | Change-Id: Ic46576ab8a9f28258020ed3afe12b377036c6797 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Grue example doesn't stop counting when reaches 100Wolfgang Beck2011-12-151-1/+1
| | | | | | | Change-Id: I8dfc97897e4d42b657b55ab3e3d734556313c48b Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* Add missing \brief statement for sensor example overview.alex2011-12-144-6/+7
| | | | | | | Change-Id: I301be8eb50077aab0c38293113be3c0e3300ddc7 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* updated system test for changes to APIDaron Andrew Edie2011-12-121-6/+38
| | | | | | Change-Id: I8a41a0c2a31ccbd256b4d7a84ab0fe27d0ca618b Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daniel Kovacic <daniel.kovacic@nokia.com>
* Add MAZE tutorialWolfgang Beck2011-12-093-8/+67
| | | | | | | Change-Id: I076d5071aa27ba10da6885b1d856c24ca6bb4f7d Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* Add tutorial for cubehouse exampleWolfgang Beck2011-12-093-11/+74
| | | | | | | Change-Id: I6058e9f5965d99e669ac845357916943d370f734 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* add simulator plugin for sensorgestures.Lorn Potter2011-12-088-1/+536
| | | | | | Change-Id: I7ec82ef7ee7795f6d8528f9ebd9d70b80435b7ea Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Don't qFatal!Lincoln Ramsay2011-12-071-2/+4
| | | | | | | | | Just warn and keep running. No sensor data will come but that's much better than killing the process that was running. Change-Id: I7cfe999450b3abf429a06b71448b63cc2626615c Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* add z and y axis accumulation for shake as well.Lorn Potter2011-12-062-26/+33
| | | | | | Change-Id: If20750a1772da7fc7dc3665f68950c5c0aa6d30c Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Tutorial doc for tilt abl and proxi qml sensorsWolfgang Beck2011-12-053-10/+85
| | | | | | | Change-Id: Ie7aac8003aea91e7cef5a3db336e736500fd7949 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* Write a tutorial doc for the sensor gesture exampleWolfgang Beck2011-12-055-16/+79
| | | | | | | Change-Id: If30a0561ed943fd32a2543be1388e61adfb5bf9c Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* Sensor Gesture system testDaron Andrew Edie2011-12-011-0/+165
| | | | | | Change-Id: I0a5da26e15d312570e8c56546d59944e87d6457c Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daniel Kovacic <daniel.kovacic@nokia.com>
* ALS sometimes showing unknownWolfgang Beck2011-11-301-6/+6
| | | | | | Change-Id: I7b372e8851d1c86d4086affe01d067ef3b4923e4 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* Apply consistent naming to sensors appsWolfgang Beck2011-11-301-1/+1
| | | | | | Change-Id: I1967516051e64a56eb5476007fb50e1668a53656 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* new identifier format.Lorn Potter2011-11-292-2/+2
| | | | | | | Change-Id: Iade5565150d17017a492b4a81e9fee4a4744a722 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Clean up the sensor gestures unit test.Lincoln Ramsay2011-11-294-204/+136
| | | | | | | | | | QTRY_ instead of custom waiting functions. Do the thread test properly. Since it can't possibly work anyway, remove the qt_metacast() function. Change-Id: I139ab29bc0785bee49a22fa20d10f2970cbac367 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Changed app run script from "select" which sometimes doesn't workDaron Andrew Edie2011-11-281-12/+38
| | | | | | Change-Id: I6f8c168a1b9b09988d04a4df5a29913fe2ef4605 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daniel Kovacic <daniel.kovacic@nokia.com>
* Fixed QtSensors example namespace compilation.Toby Tomkins2011-11-281-0/+2
| | | | | | | | Explicitly include QTimer. Change-Id: I24667b038106854d39f83fad8cf11225b153df79 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* QtSensors: Fix compilation of examples/warnings on Windows.Friedemann Kleint2011-11-259-15/+24
| | | | | | | | | | | | - Fix double->float truncation in tests - Use -rdynamic for g++ only - Introduce EXPORT macro in grue library for Windows to work - Add DESTDIR for the grue lib (to prevent it from ending up in the debug/release subfolders, respectively Change-Id: I3b902b501483c92639c0a6252240db4ed8a4a00d Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Don't use <QtDeclarative> so we can compile with -WerrorLincoln Ramsay2011-11-252-2/+4
| | | | | | Change-Id: I039727b8920395af8b1129427f409d630d79c52d Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Fixed QtSensors autotest namespace compilation.Toby Tomkins2011-11-252-0/+7
| | | | | | Change-Id: Iaf903df5b74f8793e74a633cf4d42306d1e30263 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Fixed QtSensors namespace compilation.Toby Tomkins2011-11-225-5/+13
| | | | | | Change-Id: If31a32c903034585ef8211fa17abb6747e64951f Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Document QSensorPluginInterface::keys()Lincoln Ramsay2011-11-221-7/+7
| | | | | | Change-Id: I4d681d32c18dc9e0caca7d2bc6632352495b7dcf Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* add documentation for new functions related to factoryloaderLorn Potter2011-11-223-1/+24
| | | | | | Change-Id: I9ccdf7e9e15c007879b90877ef54832d01b3c3cd Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* make all plugins availableLorn Potter2011-11-180-0/+0
| | | | | | | Change-Id: Ie2330abff5ebe3e0fbdc1f19e69230780b724435 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* make all plugins availableLorn Potter2011-11-181-1/+1
| | | | | | | Change-Id: Ie2330abff5ebe3e0fbdc1f19e69230780b724435 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* QFactoryLoader is used by singletonsLincoln Ramsay2011-11-180-0/+0
| | | | | | | | | Instead of using Q_GLOBAL_STATIC, just create and delete the QFactoryLoader instances in the singleton objects. Change-Id: I91ba017b530f0c48a74dc5c0a69fbc8fc20ab250 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* QFactoryLoader is used by singletonsLincoln Ramsay2011-11-184-16/+14
| | | | | | | | | Instead of using Q_GLOBAL_STATIC, just create and delete the QFactoryLoader instances in the singleton objects. Change-Id: I91ba017b530f0c48a74dc5c0a69fbc8fc20ab250 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Don't install tests by default.Rohan McGovern2011-11-161-1/+2
| | | | | | | | | | Installing tests is a relatively rare use case, and is already disabled by default for some qt5 modules. Make the behavior consistent and disable it by default here too. Change-Id: I45ca36a1197b5ee808d832e17773059f11324371 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* compileLincoln Ramsay2011-11-152-77/+1
| | | | | | | | | | The simulator plugin did not compile under OBS. While looking for other plugins that may be affected a junk file was discovered in the qsensor unit test. Change-Id: Ic28d703d8f80214739579b74c11e7cef9b1b4148 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* 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>