summaryrefslogtreecommitdiff
path: root/tests/auto/geotestplugin/qplacemanagerengine_test.h
diff options
context:
space:
mode:
authorabcd <qt-info@nokia.com>2011-10-10 19:48:20 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-12 04:02:15 +0200
commit559ad8baa411b6f8bec8e41254a1ee0098c792b8 (patch)
tree31b4cc6bae811324b5be639abc26a167b2b105c1 /tests/auto/geotestplugin/qplacemanagerengine_test.h
parent5ce1a5a6c0de34961cfa0711d1a7a5d25755f689 (diff)
downloadqtlocation-559ad8baa411b6f8bec8e41254a1ee0098c792b8.tar.gz
Add Supported Features handling
Change-Id: Ie2518c349fc551756f78a963417cceb93c81a3a8 Reviewed-on: http://codereview.qt-project.org/6407 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
Diffstat (limited to 'tests/auto/geotestplugin/qplacemanagerengine_test.h')
-rw-r--r--tests/auto/geotestplugin/qplacemanagerengine_test.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/geotestplugin/qplacemanagerengine_test.h b/tests/auto/geotestplugin/qplacemanagerengine_test.h
index deb89a3c..297282a8 100644
--- a/tests/auto/geotestplugin/qplacemanagerengine_test.h
+++ b/tests/auto/geotestplugin/qplacemanagerengine_test.h
@@ -266,6 +266,12 @@ public:
return QUrl();
}
+ QPlaceManager::ManagerFeatures supportedFeatures() const {
+ return QPlaceManager::SavePlaceFeature
+ | QPlaceManager::SaveCategoryFeature
+ | QPlaceManager::TextPredictionsFeature;
+ }
+
private:
QLocale m_locale;
QMap<QString, QPlace> m_places;