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 Location 5.0 |
Inherits: | QPlaceReply. |
Public Functions
QPlaceSearchReply(QObject * parent = 0) | |
~QPlaceSearchReply() | |
QPlaceSearchRequest | request() const |
QList<QPlaceSearchResult> | results() const |
Reimplemented Public Functions
virtual QPlaceReply::Type | type() const |
- 4 public functions inherited from QPlaceReply
Protected Functions
void | setRequest(const QPlaceSearchRequest & request) |
void | setResults(const QList<QPlaceSearchResult> & results) |
- 2 protected functions inherited from QPlaceReply
Additional Inherited Members
- 1 public slot inherited from QPlaceReply
- 2 signals inherited from QPlaceReply
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 = 0)
Constructs a search reply with a given parent.
QPlaceSearchReply::~QPlaceSearchReply()
Destroys the search reply.
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().
void QPlaceSearchReply::setRequest(const QPlaceSearchRequest & request) [protected]
Sets the search request used to generate this reply.
See also request().
void QPlaceSearchReply::setResults(const QList<QPlaceSearchResult> & results) [protected]
Sets the list of search results.
See also results().
QPlaceReply::Type QPlaceSearchReply::type() const [virtual]
Reimplemented from QPlaceReply::type().
Returns the type of reply.