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 /tests/auto/placesplugin_unsupported | |
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 'tests/auto/placesplugin_unsupported')
-rw-r--r-- | tests/auto/placesplugin_unsupported/qgeoserviceproviderplugin_test.cpp | 2 | ||||
-rw-r--r-- | tests/auto/placesplugin_unsupported/qgeoserviceproviderplugin_test.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/placesplugin_unsupported/qgeoserviceproviderplugin_test.cpp b/tests/auto/placesplugin_unsupported/qgeoserviceproviderplugin_test.cpp index 710fb97b..20c88d27 100644 --- a/tests/auto/placesplugin_unsupported/qgeoserviceproviderplugin_test.cpp +++ b/tests/auto/placesplugin_unsupported/qgeoserviceproviderplugin_test.cpp @@ -53,7 +53,7 @@ QGeoServiceProviderFactoryTest::~QGeoServiceProviderFactoryTest() } QPlaceManagerEngine *QGeoServiceProviderFactoryTest::createPlaceManagerEngine( - const QMap<QString, QVariant> ¶meters, + const QVariantMap ¶meters, QGeoServiceProvider::Error *error, QString *errorString) const { Q_UNUSED(error); diff --git a/tests/auto/placesplugin_unsupported/qgeoserviceproviderplugin_test.h b/tests/auto/placesplugin_unsupported/qgeoserviceproviderplugin_test.h index 210ac7cc..66869947 100644 --- a/tests/auto/placesplugin_unsupported/qgeoserviceproviderplugin_test.h +++ b/tests/auto/placesplugin_unsupported/qgeoserviceproviderplugin_test.h @@ -57,7 +57,7 @@ public: QGeoServiceProviderFactoryTest(); ~QGeoServiceProviderFactoryTest(); - QPlaceManagerEngine *createPlaceManagerEngine(const QMap<QString, QVariant> ¶meters, + QPlaceManagerEngine *createPlaceManagerEngine(const QVariantMap ¶meters, QGeoServiceProvider::Error *error, QString *errorString) const; }; |