summaryrefslogtreecommitdiffstats
path: root/src/plugins/sensorgestures/qtsensors/qpickupsensorgesturerecognizer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headersJani Heikkinen2015-02-171-7/+7
| | | | | | | | | Qt copyrights are now in The Qt Company, so we could update the source code headers accordingly. In the same go we should also fix the links to point to qt.io. Change-Id: I141862df4ed2475c05ebbeb8fe447c4a6e736849 Reviewed-by: Antti Kokko <antti.kokko@theqtcompany.com>
* Update license headers and add new licensesJani Heikkinen2014-08-241-19/+11
| | | | | | | | | | | - Renamed LICENSE.LGPL to LICENSE.LGPLv21 - Added LICENSE.LGPLv3 & LICENSE.GPLv2 - Removed LICENSE.GPL Change-Id: I99c601a398559886c2900f3e04833acfceba8263 Reviewed-by: Antti Kokko <antti.kokko@digia.com> Reviewed-by: BogDan Vatra <bogdan@kde.org> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@digia.com>
* Normalize signal & slot signatures in connectionThiago Macieira2014-02-031-3/+3
| | | | | | | Profiling shows Qt Creator spends 2% of its load time normalizing Change-Id: I462d0e0b603ab644e57c5b804015508abeebdc6e Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* remove the need to use QTimer and use timestamps instead.Lorn Potter2012-11-141-70/+80
| | | | | Change-Id: I6327357de9f84df3db86d714747210fe62547818 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>
* reset certain values to make tests work betterLorn Potter2012-05-151-0/+2
| | | | | | | | | | timers need to be stopped when gesture is stopped, else it may interfere in the next test, where the same instance of timer is used. As well, reset some values. Change-Id: Ib69bbaab88d55bef1c3c5614cae1bdec378aa89b Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* use const where possible.Lorn Potter2012-03-221-10/+10
| | | | | Change-Id: I2b78232c2ab25ebb7a931abcde18a9f01ff9c887 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Remove compile warningsLincoln Ramsay2012-03-151-3/+7
| | | | | Change-Id: I38c7b14653b96e905491a3fe589ece4aa027aed8 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* share sensors among the recognizers in QtSensors recognizer.Lorn Potter2012-03-011-25/+23
| | | | | Change-Id: Ie08046de2e293b8b6271851ce8b740832a6de315 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* small tweaks for simulatorLorn Potter2012-02-281-10/+59
| | | | | Change-Id: If2114b6917328e1342c5a2496daf9588393a8018 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* optimize some gestures more. stop colliding.Lorn Potter2012-02-211-51/+16
| | | | | Change-Id: I77580905f460e87cc796df66f5cdf02156b7cca6 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* sqrt => qSqrt, atan2 => qAtan2Lorn Potter2012-02-201-3/+3
| | | | | Change-Id: I2da59daada99184a166967fb0fe45fc5bae7eba1 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* use qAbs instead.Lorn Potter2012-02-151-1/+1
| | | | | Change-Id: Ibcc49c56d558563737d2d94a87425e65d0689c1e Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* finalize slam gesture, and fix up some others.Lorn Potter2012-02-151-16/+14
| | | | | Change-Id: I307492e32ea04d29d8f29cc91f40298d00ae7201 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* try harder to make sure gesture dont fire too easilyLorn Potter2012-02-011-8/+59
| | | | | | | | | some gestures will fire when trying other gestures. Make sure they don't collide and provide false positives as much. Change-Id: I4abd7d9ee876b77a211ae1b46bcc56f4fdc64ec0 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@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>
* Remove warnings and re-enable all gesture plugins.Lincoln Ramsay2012-01-131-1/+0
| | | | | | | | | | Enable these plugins for simulator builds or it becomes much harder to get notified of problems. Their presence does not cause a problem. Fix up the warnings so we can build with -Werror again. Change-Id: I2e9f6c2bd5f6156abdc4fa719c3a53962a9328d2 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* add new sensor gesturesLorn Potter2012-01-121-0/+140
Change-Id: Ided28e5d26af383b019d84ebb128c8ec6d6e3d34 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>