QPlaceSearchSuggestionReply Class
A classe `QPlaceSearchSuggestionReply` gerencia uma operação de sugestão de pesquisa iniciada por uma instância d QPlaceManager. Mais...
| Header: | #include <QPlaceSearchSuggestionReply> |
| qmake: | QT += location |
| Inherits: | QPlaceReply |
Funções públicas
| QPlaceSearchSuggestionReply(QObject *parent = nullptr) | |
| virtual | ~QPlaceSearchSuggestionReply() |
| QStringList | suggestions() const |
Funções públicas reimplementadas
| virtual QPlaceReply::Type | type() const override |
Funções protegidas
| void | setSuggestions(const QStringList &suggestions) |
Descrição detalhada
Após a conclusão bem-sucedida da operação, a resposta conterá uma lista de sugestões de termos de pesquisa. Consulte Sugestões de pesquisa para ver um exemplo de como usar uma resposta de sugestão de pesquisa.
Consulte também ` QPlaceManager`.
Documentação das funções de membro
[explicit] QPlaceSearchSuggestionReply::QPlaceSearchSuggestionReply(QObject *parent = nullptr)
Cria uma resposta de sugestão de pesquisa com um ` parent` fornecido.
[virtual noexcept] QPlaceSearchSuggestionReply::~QPlaceSearchSuggestionReply()
Exclui a resposta.
[protected] void QPlaceSearchSuggestionReply::setSuggestions(const QStringList &suggestions)
Define o termo de pesquisa “ suggestions ”.
Veja também suggestions().
QStringList QPlaceSearchSuggestionReply::suggestions() const
Retorna as sugestões de termos de pesquisa.
Veja também setSuggestions().
[override virtual] QPlaceReply::Type QPlaceSearchSuggestionReply::type() const
Reimplementa: ` QPlaceReply::type()` const.
Retorna o tipo da resposta.
© 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.