QPlaceSearchReply Class
The QPlaceSearchReply class manages a place search operation started by an instance of QPlaceManager. 更多...
头文件: | #include <QPlaceSearchReply> |
qmake: | QT += location |
开始支持版本: | Qt 5.6 |
基类: | QPlaceReply |
公有函数
QPlaceSearchReply(QObject *parent = Q_NULLPTR) | |
~QPlaceSearchReply() | |
QPlaceSearchRequest | nextPageRequest() const |
QPlaceSearchRequest | previousPageRequest() const |
QPlaceSearchRequest | request() const |
QList<QPlaceSearchResult> | results() const |
重新实现的公有函数
virtual QPlaceReply::Type | type() const |
- 4 个公有函数继承自 QPlaceReply
- 32 个公有函数继承自 QObject
受保护的函数
void | setNextPageRequest(const QPlaceSearchRequest &next) |
void | setPreviousPageRequest(const QPlaceSearchRequest &previous) |
void | setRequest(const QPlaceSearchRequest &request) |
void | setResults(const QList<QPlaceSearchResult> &results) |
- 2 个受保护的函数继承自 QPlaceReply
- 9 个受保护的函数继承自 QObject
其他继承的成员
- 1 个属性继承自 QObject
- 1 个公有槽函数继承自 QPlaceReply
- 1 个公有槽函数继承自 QObject
- 3 个信号继承自 QPlaceReply
- 2 个信号继承自 QObject
- 1 个公有变量继承自 QObject
- 10 个静态公有成员继承自 QObject
- 2 个受保护的变量继承自 QObject
详细描述
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.
参见 QPlaceSearchRequest and QPlaceManager.
成员函数
QPlaceSearchReply::QPlaceSearchReply(QObject *parent = Q_NULLPTR)
Constructs a search reply with a given parent.
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.
参见 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.
参见 nextPageRequest() and setPreviousPageRequest().
QPlaceSearchRequest QPlaceSearchReply::request() const
Returns the search request that was used to generate this reply.
参见 setRequest().
QList<QPlaceSearchResult> QPlaceSearchReply::results() const
Returns a list of search results;
参见 setResults().
[protected]
void QPlaceSearchReply::setNextPageRequest(const QPlaceSearchRequest &next)
Sets the next page of search results request to next.
参见 nextPageRequest().
[protected]
void QPlaceSearchReply::setPreviousPageRequest(const QPlaceSearchRequest &previous)
Sets the previous page of search results request to previous.
参见 previousPageRequest().
[protected]
void QPlaceSearchReply::setRequest(const QPlaceSearchRequest &request)
Sets the search request used to generate this reply.
参见 request().
[protected]
void QPlaceSearchReply::setResults(const QList<QPlaceSearchResult> &results)
Sets the list of search results.
参见 results().
[virtual]
QPlaceReply::Type QPlaceSearchReply::type() const
Reimplemented from QPlaceReply::type().
Returns the type of reply.