summaryrefslogtreecommitdiff
path: root/src/positioning/qgeopositioninfosource.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/5.8' into 5.9Liang Qi2017-03-101-3/+0
|\ | | | | | | Change-Id: Ibd6d68ced4edbd96fb67fe61244b83d597df5775
| * Fix build with -no-feature-libraryUlf Hermann2017-03-061-3/+0
| | | | | | | | | | | | | | | | | | Drop unnecessary guards around QFactoryLoader (which is available without QLibrary) and drop an unused include. Change-Id: I0368eb857474fc728f1dad76977758b6d773f1d6 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Remove moc_* inclusions from source filesPaolo Angelelli2017-02-141-2/+0
|/ | | | | | Change-Id: I7385348d7b6ec22fa92ed1be65f89e262c38b5c0 Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Remove obsolete WinCE doc from QGeoPositionInfoSourceAlex Blasche2016-07-191-3/+0
| | | | | Change-Id: Ie5c08b9a4bf9a4adc7c02ff81eb94b547c305dba Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* 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: Iaee1a5fd53291752a1891710ee375ca32778b142 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* fix expensive iteration over QMap::keys(), QHash::keys()Anton Kudryavtsev2016-01-151-5/+5
| | | | | | | ... and QJsonObject::keys() Change-Id: I9a8ba44406a1e2cbdfffd266d2b5cb664f7440fc Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* Skip loading real plugins in testsLaszlo Agocs2015-09-091-0/+6
| | | | | | | | | | Introduce a new plugin metadata field "Testable" that can be used to indicate that using the plugin in question in test runs (e.g. in a CI environment) is dangerous. We can then check for QT_QTESTLIB_RUNNING and skip the plugin in question. Change-Id: Iabe9f1600d7274e0e9224dc49d02aa2e5d3cabd6 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Update contact URL in all license headers to qt.ioAlex Blasche2015-02-181-1/+1
| | | | | Change-Id: Ia1e333be7fec8898de609d9b9303b1ad7687632e Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
* Update BSD and LGPLv2.1 licensesAlex Blasche2015-02-181-3/+3
| | | | | | | | - Removes subsidiary extension from Qt Company - Replaces remaining occurrences of Digia in BSD and LGPLv2.1 Change-Id: I7467a6744af7d1c3aef3c29118f219399162a18c Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
* Update all LGPLv2.1 license headers in source to latest versionAlex Blasche2015-02-151-4/+4
| | | | | | | | | | | This affects all QtPositioning related code and the test code in the entire repository. The Qt Company is set as new copyright owner and the copyright year is bumped to 2015. Change-Id: Iee0e990680683c20f5920e49cc1063ea9349e2cd Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* iOS 8 - CLLocationManager authorizationTimur Pocheptsov2014-10-231-0/+10
| | | | | | | | | | | | | iOS8 introduced a new authorization scheme for Location data. Before retrieving location data, CLLocationManager must request authorization. Call two methods: requestAlwaysAuthorization/requestWhenInUseAuthorization on a location manager (which one will work/preferred - can be adjusted by setting NSLocationAlwaysUsageDescription/NSLocationWhenInUseUsageDescription entries in a plist). Task-number: QTBUG-41827 Change-Id: I9fc24921dc7d889b629b2c71e7698a33fc6ae47a Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Update license headers and add new license filesAntti Kokko2014-08-241-19/+11
| | | | | | | | | - Renamed LICENSE.LGPL to LICENSE.LGPLv21 - Added LICENSE.LGPLv3 & LICENSE.GPLv2 - Removed LICENSE.GPL Change-Id: Iedee2507ab1bd46788409a98505d7be510253110 Reviewed-by: Jani Heikkinen <jani.heikkinen@digia.com>
* Improve ClosedError handling in QGeoPositionInfoSourceAlex Blasche2013-11-041-2/+2
| | | | | | | | | | | | | | | | | The previously described behavior was introduced by a platform which QtPositioning no longer supports. Effectively this is a behavior change which currently doesn't affect any known backend. The upcoming Android & BB10 backends support this new behavior. The described behavior was very inconvenient from a QML developer's perspective. Deleting a QML PositionSource is rather inconvenient and difficult to do. The API should make a developer's life easier. Task-number: QTBUG-33457 Change-Id: I94432c0569b647cd33c27f75ed73ce5322f40d47 Reviewed-by: Anders Gunnarsson <anders.gunnarsson@appello.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Add QGeoPositionInfoSource::NoPositioningMethods enum valueAlex Blasche2013-10-301-0/+1
| | | | | | | | | | This simplifies various position backend implementations as they don't have to cast 0 to QGeoPositionInfoSource::PositioningMethods At the same time we synchronize the same QML enum and its value name. Change-Id: Ic0b258161a6319da238b265ad5d9926349f461f1 Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
* Add NoError to the various Positioning Source classes.Alex Blasche2013-10-301-0/+1
| | | | | | | This became apparent while implementing the BB10 and Android backends. Change-Id: I54e2c0fce63021b9fad0c544777792aed726608b Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
* Doc clarification on emission of updateTimeout() in QGeoPositionInfoSourceAlex Blasche2013-10-291-0/+6
| | | | | | | | The error() signal is not emitted in case of an updateTimeout() signal. Change-Id: If4fc4c723f042f2e6feed66ffac32fb857e09ae9 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Fix wrong signal names in documentation.Alex Blasche2013-10-291-2/+2
| | | | | Change-Id: I7926efa7a15859185a8990c850cc8407f8f45de6 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Add proper version to QtPositioning and its QML API.Alex Blasche2013-10-141-1/+1
| | | | | | | | | The QML API remains available under 5.0 though. Change-Id: I037b82e5b12825db610e8458d6c82122ecde4f44 Reviewed-by: Erik Mattsson <erik.mattsson@appello.com> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* QtAlgorithms have been deprecated (1 of 2)Alex Blasche2013-10-111-1/+3
| | | | | | | | | Convert to std algorithms to avoid warnings. One qSort case is still left since it seems to require a more elaborate fix. Task-number: QTBUG-11022 Change-Id: Ieccc5050b127a58ff1f0aa7c488909f2acfa2972 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Split QtLocation into QtPositioning and QtLocationAlex Blasche2013-09-021-0/+462
QtPositioning is not dependent on any gui component and mostly covers everything around the retrieval of position information. QtLocation covers place, map and navigation APIs. Several documentation issues were fixed during the process. Change-Id: I98e2a53065549a2fc43f93a75b4f65b5bc884c92 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>