diff options
author | Aaron McCarthy <aaron.mccarthy@jollamobile.com> | 2014-01-20 10:57:08 +1000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-22 01:47:34 +0100 |
commit | 0b36e73112b099090f5dcbbc21d172dcc7c97f30 (patch) | |
tree | 92779dfa9e00b8933e53dd0aafebf6947fbf5905 /src/location/places/qplacemanager.cpp | |
parent | bdcc97c444fadc566b4476f5f91b02bd8be21ec3 (diff) | |
download | qtlocation-0b36e73112b099090f5dcbbc21d172dcc7c97f30.tar.gz |
Remove offset attribute from place content requests.
This complements 1d0966c6924876655c52725e779a7aa24866ff60
Not all service providers support arbitrary offsets when requesting
place content. The offset attribute has been removed, instead service
providers can supply a previous and next content request query in the
form of a QPlaceContentRequest.
Change-Id: I6239b42c31bed5dcd6645d86d5a48d7e6a667f46
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/location/places/qplacemanager.cpp')
-rw-r--r-- | src/location/places/qplacemanager.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/location/places/qplacemanager.cpp b/src/location/places/qplacemanager.cpp index d0e91312..863e8adc 100644 --- a/src/location/places/qplacemanager.cpp +++ b/src/location/places/qplacemanager.cpp @@ -208,14 +208,13 @@ QPlaceDetailsReply *QPlaceManager::getPlaceDetails(const QString &placeId) const } /*! - Retrieves content for the place corresponding to \a placeId, according to the parameters specified in - \a request. + Retrieves content for a place according to the parameters specified in \a request. See \l {Fetching Rich Content} for an example of usage. */ -QPlaceContentReply *QPlaceManager::getPlaceContent(const QString &placeId, const QPlaceContentRequest &request) const +QPlaceContentReply *QPlaceManager::getPlaceContent(const QPlaceContentRequest &request) const { - return d->getPlaceContent(placeId, request); + return d->getPlaceContent(request); } /*! |