summaryrefslogtreecommitdiff
path: root/src/location/places/qplacemanager.h
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2011-10-07 10:06:03 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-10 05:25:50 +0200
commit9639f9485164ffb2a03d5edf6d5972d4048ea00c (patch)
treefed05f74a2a73583eaeb68d844200b3c92c17e54 /src/location/places/qplacemanager.h
parent6f7d4efc56e33f49ae4289e93e26c38eb632fe5f (diff)
downloadqtlocation-9639f9485164ffb2a03d5edf6d5972d4048ea00c.tar.gz
Improve naming consistency in Places API.
Change-Id: Ic902592c3367a76fc0e23c237712224abbf31703 Reviewed-on: http://codereview.qt-project.org/6206 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
Diffstat (limited to 'src/location/places/qplacemanager.h')
-rw-r--r--src/location/places/qplacemanager.h20
1 files changed, 6 insertions, 14 deletions
diff --git a/src/location/places/qplacemanager.h b/src/location/places/qplacemanager.h
index 9006c0a0..2840a86b 100644
--- a/src/location/places/qplacemanager.h
+++ b/src/location/places/qplacemanager.h
@@ -71,20 +71,13 @@ class Q_LOCATION_EXPORT QPlaceManager : public QObject
Q_OBJECT
public:
enum ManagerFeature {
- ImportFeature,
- ExportFeature,
- CheckInFeature,
- PostRatingFeature,
SuggestionFeature,
- ReportPlaceFeature,
AuthenticationFeature,
- CreatePlaceFeature,
- UpdatePlaceFeature
- };
-
- enum Error {
- NoError,
- NotSupportedError
+ PlaceEditingFeature,
+ SavePlaceFeature,
+ SaveCategoryFeature,
+ RecommendationsFeature,
+ LocaleFeature
};
~QPlaceManager();
@@ -93,11 +86,10 @@ public:
int managerVersion() const;
QPlaceDetailsReply *getPlaceDetails(const QString &placeId) const;
- QPlaceReply *postRating(const QString &placeId, qreal value);
QPlaceContentReply *getContent(const QPlace &place, const QPlaceContentRequest &request) const;
- QPlaceSearchReply *searchForPlaces(const QPlaceSearchRequest &query) const;
+ QPlaceSearchReply *search(const QPlaceSearchRequest &query) const;
QPlaceSearchReply *recommendations(const QPlace &place, const QPlaceSearchRequest &request) const;