summaryrefslogtreecommitdiff
path: root/tests/auto/qgeocodingmanagerplugins
diff options
context:
space:
mode:
authoralex <alex.blasche@nokia.com>2011-11-10 13:35:24 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-10 06:45:49 +0100
commit18e0a28cb0bd9bfc407d9203b72fea0612135109 (patch)
treed063ef42125fdded21b740054a8fadfe519f1bee /tests/auto/qgeocodingmanagerplugins
parentbc10fb18aed2356d02cf8dd95a45d38eb7ae2858 (diff)
downloadqtlocation-18e0a28cb0bd9bfc407d9203b72fea0612135109.tar.gz
Remove qmobilitypluginsearch.h
We use QFactoryLoader from now on. This doubles up the keys() and providerName() methods on the two factory interfaces but this will be fixed by a separate change. Change-Id: I5f2cee40f44e0760d40f87ebd53d2ca15cfc2ec5 Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
Diffstat (limited to 'tests/auto/qgeocodingmanagerplugins')
-rw-r--r--tests/auto/qgeocodingmanagerplugins/qgeoserviceproviderplugin_test.cpp5
-rw-r--r--tests/auto/qgeocodingmanagerplugins/qgeoserviceproviderplugin_test.h3
2 files changed, 7 insertions, 1 deletions
diff --git a/tests/auto/qgeocodingmanagerplugins/qgeoserviceproviderplugin_test.cpp b/tests/auto/qgeocodingmanagerplugins/qgeoserviceproviderplugin_test.cpp
index cf837d10..bd69f373 100644
--- a/tests/auto/qgeocodingmanagerplugins/qgeoserviceproviderplugin_test.cpp
+++ b/tests/auto/qgeocodingmanagerplugins/qgeoserviceproviderplugin_test.cpp
@@ -57,6 +57,11 @@ QString QGeoServiceProviderFactoryTest::providerName() const
return "static.geocode.test.plugin";
}
+QStringList QGeoServiceProviderFactoryTest::keys() const
+{
+ return QStringList() << QLatin1String("static.geocode.test.plugin");
+}
+
int QGeoServiceProviderFactoryTest::providerVersion() const
{
return 3;
diff --git a/tests/auto/qgeocodingmanagerplugins/qgeoserviceproviderplugin_test.h b/tests/auto/qgeocodingmanagerplugins/qgeoserviceproviderplugin_test.h
index 281942da..9a0acf82 100644
--- a/tests/auto/qgeocodingmanagerplugins/qgeoserviceproviderplugin_test.h
+++ b/tests/auto/qgeocodingmanagerplugins/qgeoserviceproviderplugin_test.h
@@ -50,13 +50,14 @@ QT_USE_NAMESPACE
class QGeoServiceProviderFactoryTest: public QObject, public QGeoServiceProviderFactory
{
Q_OBJECT
- Q_INTERFACES(QGeoServiceProviderFactory)
+ Q_INTERFACES(QGeoServiceProviderFactory:QFactoryInterface)
public:
QGeoServiceProviderFactoryTest();
~QGeoServiceProviderFactoryTest();
QString providerName() const;
int providerVersion() const;
+ QStringList keys() const;
QGeocodingManagerEngine* createGeocodingManagerEngine(const QMap<QString, QVariant> &parameters,
QGeoServiceProvider::Error *error, QString *errorString) const;