summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* add invalidIds, remove redundant isValid, rename availableIds to validIdsLorn Potter2011-11-033-9/+11
| | | | | | 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-031-0/+5
| | | | | | 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-033-3/+6
| | | | | | | | 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>
* 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-0120-2/+1766
| | | | | | 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>
* Revert temporary Q_SENSORS_EXPORT_TEMPalex2011-10-2118-51/+51
| | | | | | | | 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>
* license headersLincoln Ramsay2011-10-181-2/+2
| | | | | Change-Id: I9450e0d273675a3b93d103acfc1af73a04037217 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* First step of removal of Q_SENSORS_EXPXORT macro from qglobal.halex2011-10-1719-45/+123
| | | | | | | | | 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>
* MTMW-347 Replace dataRate with speed in TltSensorWolfgang Beck2011-10-142-16/+109
| | | | | | 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>
* update license headersLincoln Ramsay2011-10-1010-10/+13
| | | | | | | 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-345-346 CR change for TiltSensorWolfgang Beck2011-10-102-218/+212
| | | | | | | 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-102-53/+36
| | | | | | | 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>
* MTMW-357 Codereview changes for ProximitySensor QML ElementWolfgang Beck2011-10-102-32/+24
| | | | | | | | 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-104-6/+30
| | | | | | | | | 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>
* 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>
* 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>
* Getting some structure into the sensors docs.Lincoln Ramsay2011-10-101-2/+1
| | | | | | | | | | | | 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-101-3/+1
| | | | | | | 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>
* 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-338 New QML El. should be in QtSensors 5.0 importWolfgang Beck2011-10-102-2/+2
| | | | | | | 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-1012-49/+1136
| | | | | | 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>
* Add QIRProximitySensor to the sensors libraryzsimon2011-10-104-0/+303
| | | | | | | | | This class was unofficially present in Mobility 1.2 Change-Id: Id1f3b551f428742febfba46769decf4b8f7d9a23 Reviewed-on: http://codereview.qt.nokia.com/4223 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Zsolt Simon <zsolt.simon@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>
* Revert the QtmSensors library.Lincoln Ramsay2011-08-2949-7272/+5
| | | | | | | | | | The QtSensors API changes have been de-scoped so this library is no longer required. Change-Id: Iee555b69fc3f774c48c5911eeabc09aba50c13fc Reviewed-on: http://codereview.qt.nokia.com/3686 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* qtmsensors does not have qsensorbackend.hLincoln Ramsay2011-08-261-2/+1
| | | | | | | Change-Id: Ie8f383dc420ebafd9b3d4d518083f33f301041f1 Reviewed-on: http://codereview.qt.nokia.com/3620 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-257-3/+797
| | | | | | | | | 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>
* QtmSensors, legacy sensors library.Lincoln Ramsay2011-08-2547-6/+6481
| | | | | | | | | | | | | | QtSensors will not remain source-compatible with Mobility. QtmSensors exists to provide a source-compatible API. QtmSensors is implemented as a wrapper over the QtSensors library. Only front end functionality is supported. Backends must be ported to QtSensors. Change-Id: Ia7e45b719fb5f84637f899374990dbd680e259bd Reviewed-on: http://codereview.qt.nokia.com/3348 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-0575-150/+151
| | | | | | Change-Id: I9d04e244df0abcf1aa5aa43ac2057fe2c40e2eb9 Reviewed-on: http://codereview.qt.nokia.com/2594 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
* We need to keep qtimestamp for source compatibility.Lincoln Ramsay2011-08-011-0/+3
| | | | | | | | It's not used in the API but third party apps are likely using it. Change-Id: I657e5c8feb7c3f282dfc6e5b6f9859038c521d04 Reviewed-on: http://codereview.qt.nokia.com/2414 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* remove qtimestampLincoln Ramsay2011-08-0110-48/+23
| | | | | | | | | | Just use a quint64. Not binary compatible but source compatible. Change-Id: I240baeef905744f844f3c37b2739fd9a6562af15 Reviewed-on: http://codereview.qt.nokia.com/2412 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* report errors when plugins can't be loadedLincoln Ramsay2011-07-291-0/+8
| | | | | | | Change-Id: Ib1aa3416b516ae6835c33a482bf8d3c924cf72e6 Reviewed-on: http://codereview.qt.nokia.com/2373 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Use dependencies, not ordered buildingLincoln Ramsay2011-07-291-2/+15
| | | | | | | Change-Id: I9cc2310f245866b92a2c4bbe72498ab07004aebf Reviewed-on: http://codereview.qt.nokia.com/2372 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Update licenseheader text in source files for qtsensors Qt moduleJyri Tahtela2011-07-0831-535/+535
| | | | | | | | Replace old license header with correct one. Change-Id: I4ff0ca473033dfd846e8812acc21b3830dab6bdd Reviewed-on: http://codereview.qt.nokia.com/1372 Reviewed-by: Jyri Tahtela <jyri.tahtela@nokia.com>
* Fix copy2build output path for QML plugin.Xizhi Zhu2011-06-272-2/+2
|
* make compile while Qt is compiled with namespaceAlex2011-06-211-1/+2
|
* Fix mac dependencies for dummy sensor plug-in.Alex2011-06-151-1/+1
| | | | librt is not required/available for/on mac.
* make MacOS compileAlex2011-06-151-1/+1
|
* use MacOS specific monotonic timeAlex2011-06-141-1/+21
|
* Add dummy, generic and simulator backendAlex2011-06-1040-1/+2730
| | | | | | The Simulator backend is not working/tested at this stage as the simulator library is not available for Qt5 at this stage. In addtion the sensor_explorer test app was added for simple sensor testing.
* remove usage of QT_SOURCE_TREE from sensor moduleAlex2011-06-082-3/+3
|
* Update licenseheader text in source files for qtsensors Qt moduleJyri Tahtela2011-05-2445-765/+765
| | | | | | | 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-236-1/+801
|
* Fix typo in MODULE_PRI (sensors.pro)Alex2011-05-231-1/+1
| | | | This fixes integration issues with other Qt modules.
* Fix Qt coding style issuesAlex2011-05-203-3/+3
|