summaryrefslogtreecommitdiff
path: root/src/location/places/qplaceidreply.cpp
diff options
context:
space:
mode:
authorabcd <amos.choy@nokia.com>2011-11-14 11:11:27 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-16 05:36:56 +0100
commit4beb6dfa7f818ced9aff296728519d4a6590eb5c (patch)
tree3d2d85519e8f90968cb7601cd14061a4f4b8796e /src/location/places/qplaceidreply.cpp
parentc19ae8bf96cd4135955347baebe18caafc9fc841 (diff)
downloadqtlocation-4beb6dfa7f818ced9aff296728519d4a6590eb5c.tar.gz
Cpp Documentation class documentation + plugin documentation
Change-Id: I52e9eee45b96c42500108646880f500df9dae55d Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
Diffstat (limited to 'src/location/places/qplaceidreply.cpp')
-rw-r--r--src/location/places/qplaceidreply.cpp28
1 files changed, 23 insertions, 5 deletions
diff --git a/src/location/places/qplaceidreply.cpp b/src/location/places/qplaceidreply.cpp
index a80f4438..67150a98 100644
--- a/src/location/places/qplaceidreply.cpp
+++ b/src/location/places/qplaceidreply.cpp
@@ -60,10 +60,27 @@ QT_USE_NAMESPACE
\class QPlaceIdReply
\inmodule QtLocation
\ingroup QtLocation-places
+ \ingroup QtLocation-places-replies
\since QtLocation 5.0
\brief The QPlaceIdReply class manages operations which return an id such as
saving and removal operations of places and categories.
+
+ The QPlaceIdReply can be considered a multipurpose reply in that it can
+ be used to save places, save categories, remove places and remove categories.
+ In each case it returns an id of the place or category that was added/modified/removed.
+
+ See \l {Saving a place cpp}{Saving a place} for an example of how to use an id reply.
+ \sa QPlaceManager
+*/
+
+/*!
+ \enum QPlaceIdReply::OperationType
+ Defines the type of operation that was used to generate this reply.
+ \value SavePlace The reply was created for a save place operation
+ \value RemovePlace The reply was created for a remove place operation.
+ \value SaveCategory The reply was created for a save category operation
+ \value RemoveCategory The reply was created for a remove category operation.
*/
/*!
@@ -84,8 +101,7 @@ QPlaceIdReply::~QPlaceIdReply()
}
/*!
- Returns the type of reply. This is an indication of the content
- of the reply.
+ Returns the type of reply.
*/
QPlaceReply::Type QPlaceIdReply::type() const
{
@@ -93,7 +109,9 @@ QPlaceReply::Type QPlaceIdReply::type() const
}
/*!
- Returns the operation type of the reply.
+ Returns the operation type of the reply. i.e whether this
+ id reply was for a save place operation,
+ remove category operation etc.
*/
QPlaceIdReply::OperationType QPlaceIdReply::operationType() const
{
@@ -102,9 +120,9 @@ QPlaceIdReply::OperationType QPlaceIdReply::operationType() const
}
/*!
- Returns the relevant id for the opeation. Eg for a save place operation,
+ Returns the relevant id for the operation. Eg for a save place operation,
the id is that of the saved place. For a category removal operation,
- it is the category id.
+ it is the id of the category that was removed.
*/
QString QPlaceIdReply::id() const
{