summaryrefslogtreecommitdiff
path: root/src/plugins/geoservices/nokia/qgeoroutingmanagerengine_nokia.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix HERE route parsingv5.12.0-beta1Paolo Angelelli2018-09-241-19/+10
| | | | | | | | | | We were previously not requesting all relevant attributes, and deriving some required info by ourself, in the wrong way. So just request what's needed and use it. Task-number: QTBUG-70499 Change-Id: I6e0d4b28da1412a4c13460d25e16e383f0aca9a0 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Support waypoints bearing in the HERE backendPaolo Angelelli2017-12-051-4/+15
| | | | | Change-Id: I9246b648da809672510460273c2cc21aa478c550 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Add TrafficFeature to QGeoRouteRequest/RouteQueryPaolo Angelelli2017-06-071-0/+1
| | | | | | | | [ChangeLog][QtLocation][QGeoRouteRequest/RouteQuery] Add TrafficFeature to the query features. Change-Id: I50243865da97e302943f43b0eda430e9d8383880 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Fix route requests with excluded areasAaron McCarthy2015-11-181-8/+5
| | | | | | | | | | | Due to a typo in the loop condition excluded areas were excluded from the generated request string. [ChangeLog][QtLocation][Here plugin] Fix route requests with excluded areas. Change-Id: I3f5d5bb7b4b9ab660dc0288f0ed54d02a1e7068b Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Add "here" prefix to all Here geoservices parametersAlex Blasche2015-05-271-3/+3
| | | | | | | Task-number: QTBUG-42151 Change-Id: I3d71ee77327478dfdda23af709bee489f83bb9f6 Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Remove all Nokia specific license details.Alex Blasche2015-02-261-7/+0
| | | | | | | | | | | | The terms and conditions were not accurate anymore. Instead we refer to the relevant URL. In general the Nokia plugin is no different than other plugins. The user must comply with each services T&Cs. Nokia and Ovi don't exist anymore. The service runs under the Here term these days. Change-Id: Ie73b5cc9577946a2e1ce433ed67e0bca0b894a57 Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
* Remove LGPLv2.1 and add GPLv2+ from/to QtLocationAlex Blasche2015-02-191-14/+17
| | | | | | Change-Id: I3007aa04d3dbc0e00cb0a43987d64d01ddf91edd Reviewed-by: Lorn Potter <lorn.potter@gmail.com> Reviewed-by: Maurice Kalinowski <maurice.kalinowski@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>
* Use single-char QString operations for efficiencySergio Ahumada2015-02-091-5/+5
| | | | | Change-Id: I45cf92e81e94cf62a21de2e01d9f8039ec1f2672 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.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>
* Normalize signal & slot signatures in connectionThiago Macieira2014-02-281-5/+5
| | | | | | | | Profiling shows Qt Creator spends 2% of its load time normalizing Change-Id: Ica52c45e34fe53823b31faaa7d77a633458549d5 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Use QVariantMap instead of QMap<QString, QVariant>.Aaron McCarthy2014-01-081-1/+1
| | | | | | | | It is shorter, easier to read, easier to type and it doesn't affect the ABI. Change-Id: Ic4d8a371d00b434ac84382dd75d8d82a963089cb Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Enhance measurement system support in routing manager.Aaron McCarthy2014-01-071-3/+3
| | | | | | | | | | | | It is useful to be able to set the measurement system independently of the locale used by the routing manager. Add accessor functions for the measurement system to the routing manager classes. Locale and measurement system properties are also added to the RouteModel QML type. Change-Id: I8ee9fbdb5ab94615fef7019914b0f104aebfa9c8 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Upgraded Nokia Route API from 6.2 to 7.2Erik Mattsson2013-11-111-64/+91
| | | | | | | | | | | | | | | | | | | Since the 7.2 API supports many more lanugages(23 compared to 4) and is the only version that supports China it was necessary to upgrade the nokia route plugin to 7.2. The major change is that 7.2 does not support multiple mode parameters which 6.2 did. Now if the user selects multiple route optimizations multiple requests will be made, one for each optimization. Nokia has also reduced the amount of different route modes, only fastest and shortest are supported now. In the response part noting has changed, so no parsing fixes were necessary. Task-number: QTBUG-24808 Change-Id: I256079f9a1e91e11c961849c95b95b712021ace0 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Split QtLocation into QtPositioning and QtLocationAlex Blasche2013-09-021-1/+1
| | | | | | | | | | | | 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>
* Update copyright year to 2013Sergio Ahumada2013-06-131-1/+1
| | | | | Change-Id: I5b0cb7d56997ad7b91c073b3e02b31d0368fdcfa Reviewed-by: Alex <alexander.blasche@digia.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-241-24/+24
| | | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: Ic1390da64a219642fa1e1482a7677a4c2db15cbc Reviewed-by: Janne Anttila <janne.anttila@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Rename QGeoBoundingArea and related classes to QGeoShape.Aaron McCarthy2012-06-211-5/+5
| | | | | | | | | | | | | | | | | | | | | QGeoBoundingArea is used for describing more than just a bounding area. Renaming it to a more appropriate name, QGeoShape. The same is done for subclasses and QML equivalents. In C++: QGeoBoundingArea -> QGeoShape QGeoBoundingCircle -> QGeoCircle QGeoBoundingBox -> QGeoRectangle In QML: BoundingArea -> GeoShape BoundingCircle -> GeoCircle BoundingBox -> GeoRectangle Change-Id: I93c6df8f1b6c5179ed52fd8354a05f709063b1cf Reviewed-by: abcd <amos.choy@nokia.com>
* Renamed terms and conditions as Nokia.Chris Axiarlis2012-05-161-3/+3
| | | | | | | | | The OVI name was discontinued last year. This change reflects this change. Also the product is no longer called mobility. Change-Id: Ib6653eef8ad117f8bfd527719994661223d6c6e9 Reviewed-by: abcd <amos.choy@nokia.com> Reviewed-by: Alex <alex.blasche@nokia.com>
* China shifting support for dual simvladimirb2012-05-161-10/+5
| | | | | Change-Id: I278bad0a8b167a3a40c8e737622a83683e966e64 Reviewed-by: Alex Wilson <alex.wilson@nokia.com>
* Coding style fixes: whitespace around pointers/referencesAlex Wilson2012-05-151-5/+5
| | | | | | Change-Id: Ie527591e2d9a1578137136fb6664e86c43eed1bf Reviewed-by: Thomas Lowe <thomas.lowe@nokia.com> Reviewed-by: Alex Wilson <alex.wilson@nokia.com>
* Wrap network access to enable testing in Nokia pluginJean Gressmann2012-04-271-24/+12
| | | | | | | | | This enables subsequent testing of the stack (from C++) without being connected to the network. Change-Id: I55ad5ece9c323ec82a493d059f1418f68169c5e6 Task-number: QTBUG-25416 Reviewed-by: Alex Wilson <alex.wilson@nokia.com>
* QtLocation, Nokia plugin: Pass app_id and token to routing serviceJean Gressmann2012-04-201-28/+25
| | | | | | | | | | | | The new service endpoint supports passing app_id/token instead of the referer/token method used by the previous routing service. Now all services implemented in the N[Bokia plugin pass along the plugin's app_id and token parameters. Change-Id: I8838b31e70cb2df2c05195724015713f88d767f1 Reviewed-by: Cristian Adam <cristian.adam@nokia.com> Reviewed-by: Alex <alex.blasche@nokia.com>
* Updated routing URL to designated service.Jean Gressmann2012-04-131-1/+1
| | | | | Change-Id: I1c421baebb68f5964191407457f1f658bddb8d7f Reviewed-by: Alex Wilson <alex.wilson@nokia.com>
* Added support for proxy autodetection.Cristian Adam2012-03-291-1/+5
| | | | | Change-Id: Icef793831e54f0333e9872293859b9009a7164cf Reviewed-by: Alex Wilson <alex.wilson@nokia.com>
* QtLocation: Nokia plugin now returns an error on invalid travel modesJean Gressmann2012-03-261-0/+10
| | | | | | | | The plugin now returns an error if more than one travel mode flag is set at the same time. Change-Id: Iee8254c53c599b0e79ff701dc4e000ba4659a400 Reviewed-by: Alex Wilson <alex.wilson@nokia.com>
* Uniform usage of proxy, app_id, and, token for all managers.Cristian Adam2012-03-261-10/+9
| | | | | | | | There is no reason to have different <service>.proxy, <service.app_id <service>.token parameters, since they are the same for all services. Change-Id: Ie17c39ac5fd94027ce477267f9e957d4cc4a5e1b Reviewed-by: Alex Wilson <alex.wilson@nokia.com>
* QtLocation, Nokia plugin: Prepared move to new REST service.Jean Gressmann2012-03-221-1/+1
| | | | | | | | Waypoints are now prefixed with geo! Change-Id: I48a339494c58de33f5d8d55383726645028624a3 Reviewed-by: Cristian Adam <cristian.adam@nokia.com> Reviewed-by: David Laing <david.laing@nokia.com>
* QtLocation, Nokia plugin: Fixed passing of excluded areas to serviceJean Gressmann2012-03-221-14/+12
| | | | | | Change-Id: I28e64d24f2fcc42ad74219eb452f834978948f73 Reviewed-by: Cristian Adam <cristian.adam@nokia.com> Reviewed-by: David Laing <david.laing@nokia.com>
* Fixed support for scenic routing in QtLocation Nokia plugin.Jean Gressmann2012-03-221-0/+1
| | | | | | Change-Id: I54e7087fd658e33f2d36fd830c507042cd4cd8ee Reviewed-by: Cristian Adam <cristian.adam@nokia.com> Reviewed-by: David Laing <david.laing@nokia.com>
* Fixed set of supported routing weights for Nokia pluginJean Gressmann2012-03-211-0/+2
| | | | | | Change-Id: If7897503e2819f085b32e2aeecba9835a05d0a58 Reviewed-by: Cristian Adam <cristian.adam@nokia.com> Reviewed-by: David Laing <david.laing@nokia.com>
* C locale related bug fix in Nokia routing backend.Jean Gressmann2012-03-151-2/+5
| | | | | | | | The backend doesn't recognize C as a valid language. Since the language parameter is optional we now obmit it. Change-Id: I5257fab2407a70b68a798f1318fb3ce8545c1239 Reviewed-by: Alex <alex.blasche@nokia.com>
* New plugin API changes, centralized geoservice feature detectionAlex Wilson2012-03-051-8/+1
| | | | | | | | | | | | | | | This change adapts geoservice plugins to use the new Qt5 plugin API, performing boolean feature detection all through the JSON blobs rather than methods on factories or managers. As a result of this centralisation, it was also necessary to rework the QML API for the Plugin element a little. Some additional changes were made to the declarative places plugin to prevent it crashing due to plugins becoming available later than they did previously. Task-number: QTBUG-24331 Change-Id: I26149987344b67091480449103ab1712c869b2a5 Reviewed-by: Aaron McCarthy <aaron.mccarthy@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: I00c66363046e475e6924aafd221483c7fad5c0d9 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: I3850177e14291901e924f9c27ba09e75df00f96a Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update copyright year in license headers.Jason McDonald2012-01-061-1/+1
| | | | | Change-Id: I496795d13a615be8d252ca20a40dd2c5ba84ed60 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Fix missing/outdated license headers.Aaron McCarthy2011-09-261-2/+2
| | | | | | | Change-Id: I9dbdf6f4974167a2a4229bd3bd798f7de36bfc10 Reviewed-on: http://codereview.qt-project.org/4939 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
* Add unused enumerations to switch statement.Aaron McCarthy2011-07-191-0/+8
| | | | | | | Change-Id: I9f5a4fee72ce74415a6ad1d2ae00d1396e91f8b6 Reviewed-on: http://codereview.qt.nokia.com/1803 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: David Laing <david.laing@nokia.com>
* make QtLocation work while Qt is compiled with namespaceAlex2011-06-211-0/+4
| | | | Task-number: QTBUG-19972
* Adds changes from Qt Mobility Location repository.David Laing2011-06-071-1/+1
| | | | | | | | | | There have been bug and documentation fixes applied to the Qt Mobility repository since Qt Location was moved to the Qt 5 repository. This commit is the result of a manual merge of those changes, with care taken to try to avoid undoing any changes made when Qt Location was moved into the Qt repo.
* Update licenseheader text in source files for qtlocation 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 Ovi rest plugin to LocationAlex2011-05-101-0/+477