summaryrefslogtreecommitdiff
path: root/src/location/places/qplacecontentrequest.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/qplacecontentrequest.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/qplacecontentrequest.cpp')
-rw-r--r--src/location/places/qplacecontentrequest.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/location/places/qplacecontentrequest.cpp b/src/location/places/qplacecontentrequest.cpp
index 12f77dbe..4f5986be 100644
--- a/src/location/places/qplacecontentrequest.cpp
+++ b/src/location/places/qplacecontentrequest.cpp
@@ -46,8 +46,8 @@
QT_BEGIN_NAMESPACE
QPlaceContentRequestPrivate::QPlaceContentRequestPrivate()
-: QSharedData(), contentType(QPlaceContent::NoType),
- limit(-1), offset(0)
+ : QSharedData(), contentType(QPlaceContent::NoType),
+ limit(-1), offset(0)
{
}
@@ -79,6 +79,7 @@ void QPlaceContentRequestPrivate::clear()
\class QPlaceContentRequest
\inmodule QtLocation
\ingroup QtLocation-places
+ \ingroup QtLocation-places-requests
\since QtLocation 5.0
\brief The QPlaceContentRequest class represents the parameters of a content request.
@@ -172,6 +173,7 @@ void QPlaceContentRequest::setContentType(QPlaceContent::Type type)
A negative value for limit means that it is undefined. It is left up to the backend
provider to choose an appropriate number of items to return.
+ The default limit is -1.
*/
int QPlaceContentRequest::limit() const
{
@@ -190,7 +192,9 @@ void QPlaceContentRequest::setLimit(int limit)
}
/*!
- Returns the index of the first item that is to be retrieved.
+ Returns the offset index of the first item that is to be retrieved.
+
+ The default offset is 0.
*/
int QPlaceContentRequest::offset() const
{