QPlaceContentReply Class▲
-
Header: QPlaceContentReply
-
qmake: QT += location
-
Inherits: QPlaceReply
-
Inherited By:
-
Group: QPlaceContentReply is part of QtLocation-places, QtLocation-places-replies
Detailed Description▲
See Fetching Rich Content for an example on how to use a content reply.
See Also▲
See also QPlaceContentRequest, QPlaceManager
Member Function Documentation▲
[explicit] QPlaceContentReply::QPlaceContentReply(QObject *parent = nullptr)▲
Constructs a content reply with a given parent.
[virtual] QPlaceContentReply::~QPlaceContentReply()▲
Destroys the reply.
QPlaceContent::Collection QPlaceContentReply::content() const▲
QPlaceContentRequest QPlaceContentReply::nextPageRequest() const▲
Returns a place content request that can be used to request the next batch of place content results.
See Also▲
See also setNextPageRequest()
QPlaceContentRequest QPlaceContentReply::previousPageRequest() const▲
Returns a place content request that can be used to request the previous batch of place content results.
See Also▲
See also setPreviousPageRequest()
QPlaceContentRequest QPlaceContentReply::request() const▲
[protected] void QPlaceContentReply::setContent(const QPlaceContent::Collection &content)▲
[protected] void QPlaceContentReply::setNextPageRequest(const QPlaceContentRequest &next)▲
Sets the place content request that can be used to request the next batch of place content results to next.
See Also▲
See also nextPageRequest()
[protected] void QPlaceContentReply::setPreviousPageRequest(const QPlaceContentRequest &previous)▲
Sets the place content request that can be used to request the previous batch of place content results to previous.
See Also▲
See also previousPageRequest()
[protected] void QPlaceContentReply::setRequest(const QPlaceContentRequest &request)▲
[protected] void QPlaceContentReply::setTotalCount(int total)▲
int QPlaceContentReply::totalCount() const▲
Returns the total number of content objects for a place. If the total number of content objects cannot be counted, a value of -1 is returned. This count only refers to the total count for a single content type, that is, the content type that was specified when content was requested with the QPlaceManager.
See Also▲
See also setTotalCount()
[override virtual] QPlaceReply::Type QPlaceContentReply::type() const▲
Reimplements: QPlaceReply::type() const.
Returns the type of reply.