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

保護された関数

void setNextPageRequest(const QPlaceSearchRequest &next)
void setPreviousPageRequest(const QPlaceSearchRequest &previous)
void setRequest(const QPlaceSearchRequest &request)
void setResults(const QList<QPlaceSearchResult> &results)

詳細説明

サーチ・リプライの使用例については、ディスカバリー/サーチを参照のこと。

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.

返信の型を返します。

© 2025 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.