summaryrefslogtreecommitdiffstats
path: root/src/imports
Commit message (Collapse)AuthorAgeFilesLines
* Update plugins.qmltypes for Qt 5.13Kai Koehne2019-04-121-2/+2
| | | | | | Task-number: QTBUG-73739 Change-Id: Id3be3f2d116d7c1ef8541ced2b75043129b08ab5 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Doc: Fix name of global QML singletonUlf Hermann2019-03-201-6/+6
| | | | | | | | The module API is called "QmlSensors", not "SensorGlobal". Fixes: QTBUG-74571 Change-Id: Ia998082be99517393389ba3a9785150e97d9c15f Reviewed-by: Andy Shaw <andy.shaw@qt.io>
* Update plugins.qmltypesKai Koehne2018-12-051-2/+2
| | | | | | | | No actual metadata has changed, but this update makes it easier to check that everything is in sync. Change-Id: Ib8cb8adbbf1288fc8e3d3495e5fc3bdaf89389af Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Remove the code to manually initialize resources in static buildsSimon Hausmann2018-04-271-8/+1
| | | | | | | | | After commit be9a56e5e3ced5d0d668fa24e4c65ae928f2e25a in qtbase, this is not needed anymore. Instead the resource system injects the plugin entry point with a reference to all resources. Change-Id: I4e68865d242f35517fbc179db1c578850025d328 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Bump Qt sensors qml import versions in doc and qmltypesAlex Blasche2018-04-192-3/+3
| | | | | Change-Id: If3027bc22486bec4b4b02eea85497578c8bb1b1a Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Merge remote-tracking branch 'origin/5.10' into devLiang Qi2018-01-202-1/+4
|\ | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I17dec1cd2d4934710663e5fa97c926a65fe301e5
| * Register all Sensor QML types under latest Qt version tagAlex Blasche2017-12-082-1/+4
| | | | | | | | | | | | | | No new types were introduced in Qt 5.10. Change-Id: I0f172fc46c23e296bdb29f39b7d30a616e7beb0b Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* | Add missing override and remove redundant virtualAlexander Volkov2017-11-142-3/+3
| | | | | | | | | | Change-Id: I51c0fc424f44ae68c3c1c4cf6377e7701ee5a0dd Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* | Replace Q_DECL_OVERRIDE with overrideKevin Funk2017-09-212-8/+8
|/ | | | | Change-Id: Ib258bbc787f43e563fff8af8151ceae87471c672 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Fix QML Sensor API registrations for 5.9Alex Blasche2017-03-162-11/+4
| | | | | | | | The 5.7 registration is not needed and the comment was wrong as 5.9 is the first API version with truly new QML API. Change-Id: I87f1dc040df4eda1784420a7a9bf37a520dfd6f5 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Update plugins.qmltypes for Qt Sensors QML APIAlex Blasche2017-03-011-2/+26
| | | | | | | This updates the types to Qt 5.9. Change-Id: Ice1fd7011eb0ce9bf4ec22e366d0eb7f6678bf75 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Merge remote-tracking branch 'origin/5.8' into devLiang Qi2016-12-1218-71/+71
|\ | | | | | | | | | | | | Conflicts: src/plugins/sensors/ios/ios.pro Change-Id: I8d9ca692713c8ba5d8c243371474b0e61630b05e
| * Replace Q_DECL_OVERRIDE by overrideAlexander Volkov2016-12-0218-71/+71
| | | | | | | | | | | | | | 'override' keyword can be used directly since Qt 5.7. Change-Id: Ibf0fc590f7e247a310a833a22ece700ec75199bb Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
* | [ChangeLog][QtSensors][QSensor] Add new sensor: lidsensorLorn Potter2016-11-214-5/+249
| | | | | | | | | | Change-Id: I57123eed34ee4618f1cba643c2ce49c8c621a6cd Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
* | Merge remote-tracking branch 'origin/5.8' into devLiang Qi2016-09-211-1/+1
|\| | | | | | | Change-Id: Iaeb7c9f62b50d68e0cedb95c523aebcceb9128c0
| * Fix loading of QML pluginsv5.8.0-alpha1Simon Hausmann2016-08-261-1/+1
| | | | | | | | | | | | | | | | | | | | Since commit 709f6370884b110def2e4665df8fa7bbf5fae734 the plugin loader is strict about requiring the correct interface id, to avoid loading unrelated plugins in the loader thread (which they may not be prepared to do). Change-Id: I84e4d927489f9a14615db399b560af4b352bf045 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | QHumiditySensor will be added by Qt 5.9Alex Blasche2016-08-311-2/+2
| | | | | | | | | | | | | | | | [ChangeLog][General][QHumiditySensor] Added QHumiditySensor sensor API. Change-Id: I6dcac53d75ec427fd585de082f4e3a5adb2ebde2 Reviewed-by: Lorn Potter <lorn.potter@canonical.com> Reviewed-by: Liang Qi <liang.qi@qt.io>
* | Add QHumiditySensorLorn Potter2016-08-273-2/+244
|/ | | | | | | Task-number: QTBUG-53635 Change-Id: I089a793de1c7f7b7224aa1bb6772b6e54a44237c Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Update QtSensors QML version for Qt 5.7 releaseAlex Blasche2016-05-032-5/+5
| | | | | Change-Id: I47e4537c8456e7b762da2a792f0584c1a783db56 Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
* Merge remote-tracking branch 'origin/5.6' into 5.7v5.7.0-alpha1Liang Qi2016-02-192-2/+2
|\ | | | | | | | | | | | | | | Conflicts: .qmake.conf src/sensors/doc/src/compatmap.qdoc Change-Id: I4049bc3c335a8a9db5c935032207d0bcfba78480
| * Update qml types for QtSensors 5.6.0 releaseAlex Blasche2016-02-021-1/+1
| | | | | | | | | | Change-Id: I9606b50810c63e49f6821e5188df54417601d11a Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
| * Fix inconsistent use of 'override'.Erik Verbruggen2015-12-231-1/+1
| | | | | | | | | | Change-Id: If952d7f9a0888a16c87bc75a96105c5eabc24377 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* | Enable using the module in a statically built applicationAndy Shaw2016-02-041-0/+8
| | | | | | | | | | Change-Id: I470d742058d69d517249620b98eef136a9c6ca86 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Updated license headersAntti Kokko2016-01-2043-602/+860
|/ | | | | | | | | | 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>
* Introduce QML Sensors 5.6 versionAlex Blasche2015-08-252-6/+7
| | | | | Change-Id: I9f84dd9595d055f424202fbc65de2198b06ee1f3 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Add two QList::reserve() calls.Sergio Martins2015-06-081-2/+6
| | | | | | Change-Id: Ie95283344006821ae2e84a3c6b01532cd4cf340f Reviewed-by: Vyacheslav Koscheev <vok1980@gmail.com> Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
* Update copyright headersJani Heikkinen2015-02-1743-291/+291
| | | | | | | | | 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 plugins.qmltypes for QtSensors 5.5 releaseAlex Blasche2015-02-062-5/+5
| | | | | Change-Id: I4b5bd46487a3589171f115aba1ee1a57d0273f35 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Cleanup QtSensors QML plugin project fileAlex Blasche2015-02-041-5/+0
| | | | | | | | This was ancient code and qmake got much smarter since then. It caused an incorrect "qmltypes" make target too. Change-Id: I4dbbd70a80fac71dbf033e1af9fb5f256c7279c0 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* Update license headers and add new licensesJani Heikkinen2014-08-2443-807/+463
| | | | | | | | | | | - 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>
* Register all QtSensor QML types for version 5.4Alex Blasche2014-07-092-5/+6
| | | | | Change-Id: I6afcbcf691e203491ee563168c19d084c051a449 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
* fix obs buildLorn Potter2014-05-2021-23/+23
| | | | | Change-Id: Ia70486a0c6b813829ffd633f5334945f73d3b628 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Create a new sensor type for distance.Andrew Inwood2014-03-283-0/+222
| | | | | | | | | | | | | | | | | | | Create a new sensor type for distance. This sensor type supports new hardware sensors that can measure physical distance from the device, in centimeters. The API is designed to mimic the Android API for proximity (TYPE_PROXIMITY), so that if a given proximity sensor only supports a binary measurement (near vs far), then instead of reporting distance in cm, the QDistanceSensor will return the max range value to represent far, and a lesser value to represent close. Using this definition should simplify implementation. The main reason for not implementing this as a new property of QProximitySensor is that clients of QProximitySensor have made the assumption that they will receive the readingReady signal if and only if the reading has changed from near to far or vice versa. Adding a distance property will break that assumption, as distance has a higher degree of precision. Change-Id: Ia804948c78ff7391fc8b78df975cddcf861326dc Reviewed-by: Fabian Bumberger <fbumberger@rim.com> Reviewed-by: Bernd Weimer <bweimer@blackberry.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Doc: Append handler names to \qmlsignal documentationSze Howe Koh2014-03-181-0/+2
| | | | | Change-Id: I4754a36bd6977cc2bc83a3fee58fb5ce6d2c2c84 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Fix some typos in comments and documentationSergio Ahumada2014-03-041-2/+2
| | | | | Change-Id: I8541601c0bfe2b7c80e88b4617e8215b266fb0bd Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* Update QML plug-in interfaces for Qt 5.3 releaseAlex Blasche2014-02-262-79/+201
| | | | | Change-Id: If01a988c151ec696c8d02ca7c470d7e97a593b40 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* static linking: add classname to qmldirRichard Moe Gustavsen2013-10-231-0/+1
| | | | | | | | | The new qmlimportscanner for static linking depends on the qmldir reporting the classname of the plugins. So add that to sensors as well. Change-Id: I80fd0a1d705ef589268231e6399f612a74b70828 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Doc: Removed QML version from \inqmlmodule and put it in \qmlmodulev5.2.0-beta1Jerome Pasion2013-09-2719-36/+36
| | | | | | | | | | | | | -QDoc uses \qmlmodule to determine version -QDoc ignores versions in \inqmlmodule but it is better to remove the version to avoid confusion Task-number: QTBUG-32172 Change-Id: Iccab6b3fe201e8f01ddf130cd985bc0482425bf5 Reviewed-by: Alex Blasche <alexander.blasche@digia.com> Reviewed-by: Bernd Weimer <bweimer@blackberry.com> Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Martin Smith <martin.smith@digia.com>
* Merge remote-tracking branch 'origin/stable' into devv5.2.0-alpha1Sergio Ahumada2013-09-201-1/+1
|\ | | | | | | Change-Id: I24286cf6c037f10fbbfb6c7e3c7145ebb38c01ed
| * [Doc] Fix the SensorGlobal usage exampleold/5.1Gatis Paeglis2013-09-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If qml type is registered with qmlRegisterSingletonType(), for example: qmlRegisterSingletonType <QmlSensorGlobal>(package, major, minor, "QmlSensors", global_object_50); where: package = "QtSensors" major = 5 minor = 0 Then it can be accessed like this: import QtSensors 5.0 as Sensors var types = Sensors.QmlSensors.sensorTypes(); Task-number: QTBUG-33558 Change-Id: I228fb51e8a2887c59ac8edba1a944a9b2c6ec05f Reviewed-by: Topi Reiniö <topi.reinio@digia.com> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* | Merge branch 'stable' into devSergio Ahumada2013-08-051-1/+3
|\| | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: Ifed287670b09398ef659b9420c3e513a699a0944
| * Undefine near if it is already defined to prevent a build issueAndy Shaw2013-07-231-1/+3
| | | | | | | | | | | | | | | | | | | | In some Windows Embedded 7 SDKs near is still defined, so we need to undefine it in those cases. Task-number: QTBUG-32571 Change-Id: I0d48b9dafa2af31f88f48746bfcf4df9fe824554 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* | Merge branch 'stable' into devSergio Ahumada2013-06-072-40/+135
|\| | | | | | | | | | | | | | | Conflicts: .qmake.conf sync.profile Change-Id: I0eaa022110b99fc5bc7cdf6304b5cda3ad3e8f8c
| * Update all plugins.qmltypes filesLiang Qi2013-05-271-39/+134
| | | | | | | | | | | | | | Task-number: QTBUG-31388 Change-Id: I7a1a0b692d49961d07ae174cb5c2a614295ec98b Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
| * Fix MSVC-warning about comparing bool and qreal.Friedemann Kleint2013-05-231-1/+1
| | | | | | | | | | Change-Id: I10ea0eb3f5bacebe0d72cdce4fac529957c64f2e Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* | Merge remote-tracking branch 'origin/stable' into devFrederik Gladhorn2013-04-162-8/+8
|\| | | | | | | Change-Id: Ia02497aafc94feba0381ffe8733cbc89f29fb412
| * Add missing Q_REVISION(1) to new 5.1 signalsThomas McGuire2013-04-112-8/+8
| | | | | | | | | | | | Change-Id: Ic98e6b4d9f4ac5c676d2183799a5a838c5085a70 Reviewed-by: Bernd Weimer <bweimer@blackberry.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* | Added temperature property to pressure sensorBernd Weimer2013-04-093-0/+67
|/ | | | | | | | | | | Many air pressure sensors provide their temperature, as well. This can be used for temperature compensation for instance. The pressure sensor API has been extended and a BlackBerry backend has been implemented. Change-Id: I188e1276dff74601d757d0a356b28b4fea4594bd Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Use real properties for QSensor::bufferSize & coThomas McGuire2013-02-083-0/+75
| | | | | | | | | | | | | | | The #ifdef Q_DOC hack is not really needed and was confusing. In addition, expose those properties to the QML API. As a result, the backends can now listen to the bufferSizeChanged() signal to update the buffering while the sensor is running. This has been implemented for the BlackBerry platform. Change-Id: I5239ba2a4b791cfc9f684b44ff2bc103a7b5b0da Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Add a QAmbientTemperatureSensor class.Thomas McGuire2013-02-085-0/+236
| | | | | | | Port the Blackberry backend to use it. Change-Id: I6d4395f5ab9e0ce3fb6f76c47282929103929557 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>