summaryrefslogtreecommitdiff
path: root/src/location/places/qplacemanager.cpp
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2011-10-03 11:35:36 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-04 08:45:50 +0200
commit1d678a1da2f32a1096e46c80a7dd24c26d9f5acf (patch)
tree2c2dcd7bec2df0d41ec358a9d1ab8676f6ab2134 /src/location/places/qplacemanager.cpp
parent5ce5ff92f225c02af66ecd53c4a54d2bc4527507 (diff)
downloadqtlocation-1d678a1da2f32a1096e46c80a7dd24c26d9f5acf.tar.gz
Place visibility scope.
Change-Id: Id1f5d248fd17554b17211d48facf3f6b85565853 Reviewed-on: http://codereview.qt-project.org/5341 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
Diffstat (limited to 'src/location/places/qplacemanager.cpp')
-rw-r--r--src/location/places/qplacemanager.cpp20
1 files changed, 2 insertions, 18 deletions
diff --git a/src/location/places/qplacemanager.cpp b/src/location/places/qplacemanager.cpp
index 76463bc0..d21973ef 100644
--- a/src/location/places/qplacemanager.cpp
+++ b/src/location/places/qplacemanager.cpp
@@ -58,14 +58,6 @@ QT_BEGIN_NAMESPACE
*/
/*!
- \enum QPlaceManager::SearchVisibilityScope
- Defines the scope for searching places according to visibility.
- \value PublicSearch Searches will only be conducted on public places.
- \value PrivateSearch Searches will only be conducted on private places.
- \value PublicAndPrivateSearch Searches will be conducted on both public and private places
-*/
-
-/*!
\enum QPlaceManager::ManagerFeature
Defines the possible features that the place manager can possible.
\value ImportFeature The manager supports import operations
@@ -192,20 +184,12 @@ QPlaceTextPredictionReply *QPlaceManager::textPredictions(const QPlaceSearchRequ
return d->textPredictions(request);
}
-/*
- Returns the available scopes in which places can be saved.
-*/
-QPlaceManager::VisibilityScopes QPlaceManager::supportedSaveVisibilityScopes()
-{
- return d->supportedSaveVisibilityScopes();
-}
-
/*!
Saves a \a place at the given \a scope.
*/
-QPlaceIdReply *QPlaceManager::savePlace(const QPlace &place, VisibilityScope scope)
+QPlaceIdReply *QPlaceManager::savePlace(const QPlace &place)
{
- return d->savePlace(place, scope);
+ return d->savePlace(place);
}
/*!