summaryrefslogtreecommitdiffstats
path: root/src/sensors/qsensorbackend.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/5.6' into 5.7Liang Qi2016-03-071-1/+1
|\ | | | | | | | | | | | | Conflicts: src/sensors/doc/src/compatmap.qdoc Change-Id: I7bd464cbd506f630798091fef3896050ade7b3f8
| * Make public headers compile with -Wzero-as-null-pointer-constantMarc Mutz2016-03-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | ... or equivalent. QtBase 5.6 headers already compile that way, so let the other modules follow suit. Task-number: QTBUG-45291 Change-Id: Iaa6ea07220566adc323010c52233416e6ae2b726 Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
* | Updated license headersAntti Kokko2016-01-201-14/+20
|/ | | | | | | | | | From Qt 5.7 -> LGPL v2.1 isn't an option anymore, see http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/ Updated license headers to use new LGPL header instead of LGPL21 one (in those files which will be under LGPL v3) Change-Id: Id129b1497aa9d61fd16332e3b324f28dcf7bdd5b Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* 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>
* Add a private class to QSensorBackendv5.1.0-beta1Thomas McGuire2013-05-061-2/+4
| | | | | Change-Id: Ifaac09159420b6cca197614a1fa9df8b6a8692dc Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Fix some potential binary compatibility issuesThomas McGuire2013-05-061-1/+1
| | | | | | | | | Mostly de-inlining methods, and in addition providing a virtual destructor. Change-Id: I0aef91e7a896e8a16fc023a11bd35a5ef3048ee6 Reviewed-by: Bernd Weimer <bweimer@blackberry.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Merge remote-tracking branch 'origin/stable' into devFrederik Gladhorn2013-02-251-5/+5
|\ | | | | | | | | | | | | | | | | Conflicts: src/plugins/sensors/generic/generictiltsensor.cpp src/sensors/qtapsensor.h sync.profile Change-Id: I017a5fa8dffb69b41727495175c0fca9b76962e1
| * Fix pedantic errors and warnings (found by headers clean test)Thiago Macieira2012-12-231-5/+5
| | | | | | | | | | | | | | | | | | qorientationsensor.h:68:17: error: comma at end of enumerator list [-pedantic] qsensorgestureplugininterface.h:68:99: error: extra ';' [-pedantic] qsensorbackend.h:73:5: error: declaration of 'reading' shadows a member of 'this' [-Werror=shadow] Change-Id: I50a9fc993a3a3c3391f6231ccd2c1976c636045b Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* | Remove the use of QT_MODULE()Sergio Ahumada2013-01-291-2/+0
| | | | | | | | | | | | | | | | | | | | The macro was made empty in qtbase/4ecf82795de54fba530ac9c386f3afff2174edbd and is no longer necessary or used. Also, don't generate this macro when using make_sensor.pl Change-Id: I19121c9f0a1775011f1dd08b9d7d5d85336b1122 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* | Remove QT_{BEGIN,END}_HEADER macro usageSergio Ahumada2013-01-281-2/+0
|/ | | | | | | | | The macro was made empty in qtbase/ba3dc5f3b56d1fab6fe37fe7ae08096d7dc68bcb and is no longer necessary or used. Discussed-on: http://lists.qt-project.org/pipermail/development/2013-January/009284.html Change-Id: If3f1040766e1c7de05bb8e90cd8a8a2a349bd096 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Fix includes in public headersThomas McGuire2012-11-031-2/+2
| | | | | Change-Id: I1401314208bb89ba46ed3f18393b1f446682cd93 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>
* Add QSensor::isFeatureSupported()Thomas McGuire2012-07-231-0/+2
| | | | | | | | | | | | Now it is possible to check if a backend supports a specific feature. During reviews of features like acceleration mode or duplicate skipping, the issue was raised how to check if these features are actually supported. The same is true for existing features like QMagnetometer::returnGeoValues. Change-Id: I47115d6c487bbcbb668a9021cdc7085e6780a67c Reviewed-by: Marc Mutz <marc.mutz@kdab.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Fixing header problems identified by the CI gateWolfgang Beck2012-05-141-0/+2
| | | | | Change-Id: Ib1f65462a9203534538a18fdc6374fb125cd6f3d 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>
* 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 missing QT header macros.Lincoln Ramsay2011-12-191-0/+2
| | | | | | | | | | | | 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>
* Revert temporary Q_SENSORS_EXPORT_TEMPalex2011-10-211-1/+1
| | | | | | | | 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>
* First step of removal of Q_SENSORS_EXPXORT macro from qglobal.halex2011-10-171-1/+1
| | | | | | | | | 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>
* Revert the QtmSensors library.Lincoln Ramsay2011-08-291-4/+2
| | | | | | | | | | 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, legacy sensors library.Lincoln Ramsay2011-08-251-2/+4
| | | | | | | | | | | | | | 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-051-2/+2
| | | | | | Change-Id: I9d04e244df0abcf1aa5aa43ac2057fe2c40e2eb9 Reviewed-on: http://codereview.qt.nokia.com/2594 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
* Update licenseheader text in source files for qtsensors Qt moduleJyri Tahtela2011-05-241-17/+17
| | | | | | | Updated version of LGPL and FDL licenseheaders. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* Add the first version of QtSensors to Qt 5Alex2011-05-201-0/+94