From 0287bfee05840511c12100f06f9142e3e2b8f7d5 Mon Sep 17 00:00:00 2001 From: Alex Wilson Date: Tue, 28 Feb 2012 13:05:02 +1000 Subject: New plugin API changes, centralized geoservice feature detection This change adapts geoservice plugins to use the new Qt5 plugin API, performing boolean feature detection all through the JSON blobs rather than methods on factories or managers. As a result of this centralisation, it was also necessary to rework the QML API for the Plugin element a little. Some additional changes were made to the declarative places plugin to prevent it crashing due to plugins becoming available later than they did previously. Task-number: QTBUG-24331 Change-Id: I26149987344b67091480449103ab1712c869b2a5 Reviewed-by: Aaron McCarthy --- src/location/maps/qgeocodingmanager.cpp | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/location/maps/qgeocodingmanager.cpp') diff --git a/src/location/maps/qgeocodingmanager.cpp b/src/location/maps/qgeocodingmanager.cpp index bb44c98e..cb4bc3f7 100644 --- a/src/location/maps/qgeocodingmanager.cpp +++ b/src/location/maps/qgeocodingmanager.cpp @@ -270,25 +270,6 @@ QGeocodeReply* QGeocodingManager::geocode(const QString &address, return reply; } -/*! - Returns whether this manager supports geocoding. -*/ -bool QGeocodingManager::supportsGeocoding() const -{ -// if (!d_ptr->engine) -// return false; - - return d_ptr->engine->supportsGeocoding(); -} - -/*! - Returns whether this manager supports reverse geocoding. -*/ -bool QGeocodingManager::supportsReverseGeocoding() const -{ - return d_ptr->engine->supportsReverseGeocoding(); -} - /*! Sets the locale to be used by this manager to \a locale. -- cgit v1.2.1