summaryrefslogtreecommitdiffstats
path: root/src/location/places/qplaceresult_p.h
diff options
context:
space:
mode:
authorAaron McCarthy <mccarthy.aaron@gmail.com>2013-07-17 23:43:43 +1000
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-07-26 08:19:47 +0200
commitcfec9ee4fd3fb2633eda7fc65eae2adf3ee4643c (patch)
treecf5c33435b33823d3f1a45250f09520b92a1e12c /src/location/places/qplaceresult_p.h
parent8df09353686b3b9121e84788e84afc52a1a12de0 (diff)
Support explore functionality.
Add support for Nokia's explore functionality in places. This adds the ProposedSearchResult search result type. The proposed search result has a QPlaceSearchRequest, which can be submitted to QPlaceManager::search() to perform the proposed search. This has the added advantage that any arbitrary search request can be returned as a search result. To facilitate this further a search context field has been added to the place search request. This field can be used by backends to store additional search context. Other relevant fields should also be filled in. This allows additional search context to be kept. The Nokia v2 places implementation has be updated to use the explore feature and to return ProposedSearchResults as well as place results. Task-number: QTBUG-24874 Change-Id: Ib20c5a8c8a60e6bf16f38dcd75961a752b8b1b32 Reviewed-by: Alex <alexander.blasche@digia.com>
Diffstat (limited to 'src/location/places/qplaceresult_p.h')
-rw-r--r--src/location/places/qplaceresult_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/places/qplaceresult_p.h b/src/location/places/qplaceresult_p.h
index 01442d90..f6a21460 100644
--- a/src/location/places/qplaceresult_p.h
+++ b/src/location/places/qplaceresult_p.h
@@ -54,7 +54,7 @@ public:
~QPlaceResultPrivate();
- bool compare(const QPlaceSearchResultPrivate *other) const;
+ bool compare(const QPlaceSearchResultPrivate *other) const Q_DECL_OVERRIDE;
Q_DEFINE_SEARCHRESULT_PRIVATE_HELPER(QPlaceResult, QPlaceSearchResult::PlaceResult)