QPlaceSearchReply Class
QPlaceSearchReply クラスは、QPlaceManager のインスタンスによって開始された場所検索操作を管理します。詳細...
| Header: | #include <QPlaceSearchReply> |
| qmake: | QT += location |
| 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 |
Protected 関数
| void | setNextPageRequest(const QPlaceSearchRequest &next) |
| void | setPreviousPageRequest(const QPlaceSearchRequest &previous) |
| void | setRequest(const QPlaceSearchRequest &request) |
| void | setResults(const QList<QPlaceSearchResult> &results) |
詳細な説明
検索応答の使用方法の例については、「Discovery/Search」を参照してください。
「 QPlaceSearchRequest 」および「QPlaceManager 」も参照してください 。
メンバ関数のドキュメント
[explicit] QPlaceSearchReply::QPlaceSearchReply(QObject *parent = nullptr)
指定されたparent を使用して、検索応答を生成します。
[virtual noexcept] QPlaceSearchReply::~QPlaceSearchReply()
検索結果の返信を削除します。
QPlaceSearchRequest QPlaceSearchReply::nextPageRequest() const
検索結果の次のページをリクエストするために使用できる場所検索リクエストを返します。検索結果の次のページがない場合は、空の場所検索リクエストが返されます。
previousPageRequest() およびsetNextPageRequest()も参照してください 。
QPlaceSearchRequest QPlaceSearchReply::previousPageRequest() const
検索結果の前のページをリクエストするために使用できる場所検索リクエストを返します。検索結果の前のページが存在しない場合は、空の場所検索リクエストが返されます。
nextPageRequest() およびsetPreviousPageRequest()も参照してください 。
QPlaceSearchRequest QPlaceSearchReply::request() const
この応答の生成に使用された検索リクエストを返します。
setRequest()も参照してください 。
QList<QPlaceSearchResult> QPlaceSearchReply::results() const
検索結果のリストを返します。
setResults()も参照してください 。
[protected] void QPlaceSearchReply::setNextPageRequest(const QPlaceSearchRequest &next)
検索結果のリクエストの次のページをnext に設定します。
nextPageRequest()も参照してください 。
[protected] void QPlaceSearchReply::setPreviousPageRequest(const QPlaceSearchRequest &previous)
検索結果のリクエストの前のページをprevious に設定します。
previousPageRequest()も参照してください 。
[protected] void QPlaceSearchReply::setRequest(const QPlaceSearchRequest &request)
この応答の生成に使用された検索request を設定します。
request()も参照してください 。
[protected] void QPlaceSearchReply::setResults(const QList<QPlaceSearchResult> &results)
検索対象のリストを設定しますresults 。
results()も参照してください 。
[override virtual] QPlaceReply::Type QPlaceSearchReply::type() const
QPlaceReply::type() const を再実装します。
応答の型を返します。
© 2026 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.