IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QPlaceContentReply Class

The QPlaceContentReply class manages a content retrieval operation started by an instance of QPlaceManager.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QPlaceContentReply Class

  • Header: QPlaceContentReply

  • qmake: QT += location

  • Inherits: QPlaceReply

  • Inherited By:

  • Group: QPlaceContentReply is part of QtLocation-places, QtLocation-places-replies

I. Detailed Description

See Fetching Rich Content for an example on how to use a content reply.

I-1. See Also

II. Member Function Documentation

 

II-1. [explicit] QPlaceContentReply::QPlaceContentReply(QObject *parent = nullptr)

Constructs a content reply with a given parent.

II-2. [virtual] QPlaceContentReply::~QPlaceContentReply()

Destroys the reply.

II-3. QPlaceContent::Collection QPlaceContentReply::content() const

Returns the collection of content retrieved.

II-3-1. See Also

See also setContent()

II-4. QPlaceContentRequest QPlaceContentReply::nextPageRequest() const

Returns a place content request that can be used to request the next batch of place content results.

II-4-1. See Also

See also setNextPageRequest()

II-5. QPlaceContentRequest QPlaceContentReply::previousPageRequest() const

Returns a place content request that can be used to request the previous batch of place content results.

II-5-1. See Also

II-6. QPlaceContentRequest QPlaceContentReply::request() const

Returns the content request that was used to generate this reply.

II-6-1. See Also

See also setRequest()

II-7. [protected] void QPlaceContentReply::setContent(const QPlaceContent::Collection &content)

Sets the content of the reply.

II-7-1. See Also

See also content()

II-8. [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.

II-8-1. See Also

See also nextPageRequest()

II-9. [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.

II-9-1. See Also

See also previousPageRequest()

II-10. [protected] void QPlaceContentReply::setRequest(const QPlaceContentRequest &request)

Sets the content request used to generate this this reply.

II-10-1. See Also

See also request()

II-11. [protected] void QPlaceContentReply::setTotalCount(int total)

Sets the total number of content objects for a place.

II-11-1. See Also

See also totalCount()

II-12. 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.

II-12-1. See Also

See also setTotalCount()

II-13. [override virtual] QPlaceReply::Type QPlaceContentReply::type() const

Reimplements: QPlaceReply::type() const.

Returns the type of reply.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+