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.

返信の型を返します。

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