diff options
author | alex <alex.blasche@nokia.com> | 2011-11-10 13:35:24 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-10 06:45:49 +0100 |
commit | 18e0a28cb0bd9bfc407d9203b72fea0612135109 (patch) | |
tree | d063ef42125fdded21b740054a8fadfe519f1bee /tests/auto/positionplugin | |
parent | bc10fb18aed2356d02cf8dd95a45d38eb7ae2858 (diff) | |
download | qtlocation-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/positionplugin')
-rw-r--r-- | tests/auto/positionplugin/plugin.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/positionplugin/plugin.cpp b/tests/auto/positionplugin/plugin.cpp index abd51e02..5307c141 100644 --- a/tests/auto/positionplugin/plugin.cpp +++ b/tests/auto/positionplugin/plugin.cpp @@ -176,12 +176,14 @@ void DummySource::doTimeout() class QGeoPositionInfoSourceFactoryTest : public QObject, public QGeoPositionInfoSourceFactory { Q_OBJECT - Q_INTERFACES(QGeoPositionInfoSourceFactory) + Q_INTERFACES(QGeoPositionInfoSourceFactory:QFactoryInterface) public: QString sourceName() const; int sourceVersion() const; + QStringList keys() const { return QStringList() << QLatin1String("testposition.source"); } + QGeoPositionInfoSource *positionInfoSource(QObject *parent); QGeoSatelliteInfoSource *satelliteInfoSource(QObject *parent); }; |