The QPlaceSearchReply class manages a place search operation started by an instance of QPlaceManager. More...
Header: | #include <QPlaceSearchReply> |
qmake: | QT += location |
Since: | Qt 5.6 |
Inherits: | QPlaceReply |
QPlaceSearchReply(QObject *parent = nullptr) | |
virtual | ~QPlaceSearchReply() |
QPlaceSearchRequest | nextPageRequest() const |
QPlaceSearchRequest | previousPageRequest() const |
QPlaceSearchRequest | request() const |
QList<QPlaceSearchResult> | results() const |
virtual QPlaceReply::Type | type() const override |
void | setNextPageRequest(const QPlaceSearchRequest &next) |
void | setPreviousPageRequest(const QPlaceSearchRequest &previous) |
void | setRequest(const QPlaceSearchRequest &request) |
void | setResults(const QList<QPlaceSearchResult> &results) |
See Discovery/Search for an example on how to use a search reply.
See also QPlaceSearchRequest and QPlaceManager.
Constructs a search reply with a given parent.
[virtual]
QPlaceSearchReply::~QPlaceSearchReply()Destroys the search reply.
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.
See also previousPageRequest() and setNextPageRequest().
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.
See also nextPageRequest() and setPreviousPageRequest().
Returns the search request that was used to generate this reply.
See also setRequest().
Returns a list of search results;
See also setResults().
[protected]
void QPlaceSearchReply::setNextPageRequest(const QPlaceSearchRequest &next)Sets the next page of search results request to next.
See also nextPageRequest().
[protected]
void QPlaceSearchReply::setPreviousPageRequest(const QPlaceSearchRequest &previous)Sets the previous page of search results request to previous.
See also previousPageRequest().
[protected]
void QPlaceSearchReply::setRequest(const QPlaceSearchRequest &request)Sets the search request used to generate this reply.
See also request().
[protected]
void QPlaceSearchReply::setResults(const QList<QPlaceSearchResult> &results)Sets the list of search results.
See also results().
[override virtual]
QPlaceReply::Type QPlaceSearchReply::type() constReimplements: QPlaceReply::type() const.
Returns the type of reply.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: