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

QPlaceSearchReply Class

The QPlaceSearchReply class manages a place search operation started by an instance of QPlaceManager.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QPlaceSearchReply Class

  • Header: QPlaceSearchReply

  • qmake: QT += location

  • Inherits: QPlaceReply

  • Inherited By:

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

I. Detailed Description

See Discovery/Search for an example on how to use a search reply.

I-1. See Also

II. Member Function Documentation

 

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

Constructs a search reply with a given parent.

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

Destroys the search reply.

II-3. QPlaceSearchRequest QPlaceSearchReply::nextPageRequest() const

Returns a place search request which can be used to request the next page of search results. An empty place search request is returned if there is no next page of results.

II-3-1. See Also

II-4. QPlaceSearchRequest QPlaceSearchReply::previousPageRequest() const

Returns a place search request which can be used to request the previous page of search results. An empty place search request is returned if there is no previous page of results.

II-4-1. See Also

II-5. QPlaceSearchRequest QPlaceSearchReply::request() const

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

II-5-1. See Also

See also setRequest()

II-6. QList<QPlaceSearchResult> QPlaceSearchReply::results() const

Returns a list of search results;

II-6-1. See Also

See also setResults()

II-7. [protected] void QPlaceSearchReply::setNextPageRequest(const QPlaceSearchRequest &next)

Sets the next page of search results request to next.

II-7-1. See Also

See also nextPageRequest()

II-8. [protected] void QPlaceSearchReply::setPreviousPageRequest(const QPlaceSearchRequest &previous)

Sets the previous page of search results request to previous.

II-8-1. See Also

See also previousPageRequest()

II-9. [protected] void QPlaceSearchReply::setRequest(const QPlaceSearchRequest &request)

Sets the search request used to generate this reply.

II-9-1. See Also

See also request()

II-10. [protected] void QPlaceSearchReply::setResults(const QList<QPlaceSearchResult> &results)

Sets the list of search results.

II-10-1. See Also

See also results()

II-11. [override virtual] QPlaceReply::Type QPlaceSearchReply::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+