QPlaceSearchReply Class
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 |
Public Functions
QPlaceSearchReply(QObject *parent = nullptr) | |
virtual | ~QPlaceSearchReply() |
QPlaceSearchRequest | nextPageRequest() const |
QPlaceSearchRequest | previousPageRequest() const |
QPlaceSearchRequest | request() const |
QList<QPlaceSearchResult> | results() const |
Reimplemented Public Functions
virtual QPlaceReply::Type | type() const |
- 4 public functions inherited from QPlaceReply
- 31 public functions inherited from QObject
Static Public Members
const QMetaObject | staticMetaObject |
- 9 static public members inherited from QObject
Protected Functions
void | setNextPageRequest(const QPlaceSearchRequest &next) |
void | setPreviousPageRequest(const QPlaceSearchRequest &previous) |
void | setRequest(const QPlaceSearchRequest &request) |
void | setResults(const QList<QPlaceSearchResult> &results) |
- 2 protected functions inherited from QPlaceReply
- 9 protected functions inherited from QObject
Additional Inherited Members
- 1 property inherited from QObject
- 1 public slot inherited from QPlaceReply
- 1 public slot inherited from QObject
- 4 signals inherited from QPlaceReply
- 2 signals inherited from QObject
Detailed Description
The QPlaceSearchReply class manages a place search operation started by an instance of QPlaceManager.
See Discovery/Search for an example on how to use a search reply.
See also QPlaceSearchRequest and QPlaceManager.
Member Function Documentation
QPlaceSearchReply::QPlaceSearchReply(QObject *parent = nullptr)
Constructs a search reply with a given parent.
[virtual]
QPlaceSearchReply::~QPlaceSearchReply()
Destroys the search reply.
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.
See also previousPageRequest() and setNextPageRequest().
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.
See also nextPageRequest() and setPreviousPageRequest().
QPlaceSearchRequest QPlaceSearchReply::request() const
Returns the search request that was used to generate this reply.
See also setRequest().
QList<QPlaceSearchResult> QPlaceSearchReply::results() const
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().
[virtual]
QPlaceReply::Type QPlaceSearchReply::type() const
Reimplemented from QPlaceReply::type().
Returns the type of reply.
© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.