QPlaceContentReply Class
QPlaceContentReply クラスは、QPlaceManager のインスタンスによって開始されたコンテンツ取得操作を管理します。詳細...
| Header: | #include <QPlaceContentReply> |
| qmake: | QT += location |
| Inherits: | QPlaceReply |
パブリック関数
| QPlaceContentReply(QObject *parent = nullptr) | |
| virtual | ~QPlaceContentReply() |
| QPlaceContent::Collection | content() const |
| QPlaceContentRequest | nextPageRequest() const |
| QPlaceContentRequest | previousPageRequest() const |
| QPlaceContentRequest | request() const |
| int | totalCount() const |
再実装されたパブリック関数
| virtual QPlaceReply::Type | type() const override |
Protected 関数
| void | setContent(const QPlaceContent::Collection &content) |
| void | setNextPageRequest(const QPlaceContentRequest &next) |
| void | setPreviousPageRequest(const QPlaceContentRequest &previous) |
| void | setRequest(const QPlaceContentRequest &request) |
| void | setTotalCount(int total) |
詳細な説明
コンテンツ応答の使用例については、「リッチ コンテンツの取得」を参照してください。
「 QPlaceContentRequest 」および「QPlaceManager 」も参照してください 。
メンバ関数のドキュメント
[explicit] QPlaceContentReply::QPlaceContentReply(QObject *parent = nullptr)
指定されたparent を使用して、コンテンツ返信を生成します。
[virtual noexcept] QPlaceContentReply::~QPlaceContentReply()
返信を削除します。
QPlaceContent::Collection QPlaceContentReply::content() const
取得したコンテンツのコレクションを返します。
setContent()も参照してください 。
QPlaceContentRequest QPlaceContentReply::nextPageRequest() const
次のバッチの場所コンテンツの結果をリクエストするために使用できる、場所コンテンツリクエストを返します。
setNextPageRequest()も参照してください 。
QPlaceContentRequest QPlaceContentReply::previousPageRequest() const
前のバッチの場所コンテンツの結果をリクエストするために使用できる場所コンテンツリクエストを返します。
setPreviousPageRequest()も参照してください 。
QPlaceContentRequest QPlaceContentReply::request() const
この応答の生成に使用されたコンテンツリクエストを返します。
setRequest()も参照してください 。
[protected] void QPlaceContentReply::setContent(const QPlaceContent::Collection &content)
応答のcontent を設定します。
content()も参照してください 。
[protected] void QPlaceContentReply::setNextPageRequest(const QPlaceContentRequest &next)
next に対して、次のバッチの場所コンテンツの結果をリクエストするために使用できる場所コンテンツリクエストを設定します。
nextPageRequest()も参照してください 。
[protected] void QPlaceContentReply::setPreviousPageRequest(const QPlaceContentRequest &previous)
previous に対して、前回のバッチの場所コンテンツ検索結果をリクエストするために使用できる場所コンテンツリクエストを設定します。
previousPageRequest()も参照してください 。
[protected] void QPlaceContentReply::setRequest(const QPlaceContentRequest &request)
この返信を生成するために使用されたコンテンツrequest を設定します。
request()も参照してください 。
[protected] void QPlaceContentReply::setTotalCount(int total)
場所に対するコンテンツオブジェクトのtotal 数を設定します。
totalCount()も参照してください 。
int QPlaceContentReply::totalCount() const
指定された場所のコンテンツオブジェクトの総数を返します。コンテンツオブジェクトの総数をカウントできない場合は、-1 が返されます。このカウント数は、単一のコンテンツタイプ、すなわち `QPlaceManager` を使用してコンテンツをリクエストした際に指定されたコンテンツタイプの総数のみを指します。
setTotalCount()も参照してください 。
[override virtual] QPlaceReply::Type QPlaceContentReply::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.