このページでは

QPlaceSearchSuggestionReply Class

QPlaceSearchSuggestionReply クラスは、QPlaceManager のインスタンスによって開始された検索候補の操作を管理します。詳細...

Header: #include <QPlaceSearchSuggestionReply>
qmake: QT += location
Inherits: QPlaceReply

パブリック関数

QPlaceSearchSuggestionReply(QObject *parent = nullptr)
virtual ~QPlaceSearchSuggestionReply()
QStringList suggestions() const

再実装されたパブリック関数

virtual QPlaceReply::Type type() const override

プロテクトされた関数

void setSuggestions(const QStringList &suggestions)

詳細な説明

操作が正常に完了すると、応答には検索用語の候補リストが含まれます。検索候補の応答の使用例については、「検索候補」を参照してください。

「QPlaceManager」も参照してください 。

メンバ関数のドキュメント

[explicit] QPlaceSearchSuggestionReply::QPlaceSearchSuggestionReply(QObject *parent = nullptr)

指定されたparent を使用して、検索候補の返信を生成します。

[virtual noexcept] QPlaceSearchSuggestionReply::~QPlaceSearchSuggestionReply()

返信を削除します。

[protected] void QPlaceSearchSuggestionReply::setSuggestions(const QStringList &suggestions)

検索語「suggestions 」を設定します。

suggestions()も参照してください 。

QStringList QPlaceSearchSuggestionReply::suggestions() const

検索用語の候補を返します。

setSuggestions()も参照してください 。

[override virtual] QPlaceReply::Type QPlaceSearchSuggestionReply::type() const

QPlaceReply::type() const を再実装します。

reply の型を返します。

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