summaryrefslogtreecommitdiffstats
path: root/src/location/maps/qgeoserviceprovider.h
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2018-12-03 11:22:43 +0100
committerPaolo Angelelli <paolo.angelelli@qt.io>2019-01-14 11:29:25 +0000
commit3ee61f7918cad8ff8ecc834b4fa85380c57afef6 (patch)
tree5e7a3a69094e067075fc9ef774e017a55c2ff332 /src/location/maps/qgeoserviceprovider.h
parentd73f9d59e352b096af242ebe69c645def30f5672 (diff)
Expose manager-specific errors from QGeoServiceProvider
So that there's no risk to mix failures when creating multiple managers. Task-number: QTBUG-72180 Change-Id: I5c3b18ba17094e1480b2376e37b58d47029ca8f4 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/location/maps/qgeoserviceprovider.h')
-rw-r--r--src/location/maps/qgeoserviceprovider.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/location/maps/qgeoserviceprovider.h b/src/location/maps/qgeoserviceprovider.h
index b2e0be05..fe4e5b6a 100644
--- a/src/location/maps/qgeoserviceprovider.h
+++ b/src/location/maps/qgeoserviceprovider.h
@@ -160,6 +160,19 @@ public:
Error error() const;
QString errorString() const;
+ Error loaderError() const;
+ QString loaderErrorString() const;
+
+ Error mappingError() const;
+ QString mappingErrorString() const;
+ Error geocodingError() const;
+ QString geocodingErrorString() const;
+ Error routingError() const;
+ QString routingErrorString() const;
+ Error placesError() const;
+ QString placesErrorString() const;
+ Error navigationError() const;
+ QString navigationErrorString() const;
void setParameters(const QVariantMap &parameters);
void setLocale(const QLocale &locale);