diff options
author | Aaron McCarthy <aaron.mccarthy@jollamobile.com> | 2014-01-06 16:39:10 +1000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-08 09:01:28 +0100 |
commit | 4d3134b673faf5eb3c84e37bff25c8d678172ee3 (patch) | |
tree | 06b053e2a5c9803ca53c46f57878da679a7b2efa /src/location/maps/qgeoserviceproviderfactory.h | |
parent | a12f2caf8fd801fc84953072bae7d185ba0ed109 (diff) | |
download | qtlocation-4d3134b673faf5eb3c84e37bff25c8d678172ee3.tar.gz |
Use QVariantMap instead of QMap<QString, QVariant>.
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>
Diffstat (limited to 'src/location/maps/qgeoserviceproviderfactory.h')
-rw-r--r-- | src/location/maps/qgeoserviceproviderfactory.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/location/maps/qgeoserviceproviderfactory.h b/src/location/maps/qgeoserviceproviderfactory.h index 28c27ef0..b2843301 100644 --- a/src/location/maps/qgeoserviceproviderfactory.h +++ b/src/location/maps/qgeoserviceproviderfactory.h @@ -55,16 +55,16 @@ class Q_LOCATION_EXPORT QGeoServiceProviderFactory public: virtual ~QGeoServiceProviderFactory() {} - virtual QGeoCodingManagerEngine *createGeocodingManagerEngine(const QMap<QString, QVariant> ¶meters, + virtual QGeoCodingManagerEngine *createGeocodingManagerEngine(const QVariantMap ¶meters, QGeoServiceProvider::Error *error, QString *errorString) const; - virtual QGeoMappingManagerEngine *createMappingManagerEngine(const QMap<QString, QVariant> ¶meters, + virtual QGeoMappingManagerEngine *createMappingManagerEngine(const QVariantMap ¶meters, QGeoServiceProvider::Error *error, QString *errorString) const; - virtual QGeoRoutingManagerEngine *createRoutingManagerEngine(const QMap<QString, QVariant> ¶meters, + virtual QGeoRoutingManagerEngine *createRoutingManagerEngine(const QVariantMap ¶meters, QGeoServiceProvider::Error *error, QString *errorString) const; - virtual QPlaceManagerEngine *createPlaceManagerEngine(const QMap<QString, QVariant> ¶meters, + virtual QPlaceManagerEngine *createPlaceManagerEngine(const QVariantMap ¶meters, QGeoServiceProvider::Error *error, QString *errorString) const; }; |