In questa pagina

QPlaceSearchSuggestionReply Class

La classe `QPlaceSearchSuggestionReply` gestisce un'operazione di suggerimento di ricerca avviata da un'istanza di ` QPlaceManager`. Continua...

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

Funzioni pubbliche

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

Funzioni pubbliche reimplementate

virtual QPlaceReply::Type type() const override

Funzioni protette

void setSuggestions(const QStringList &suggestions)

Descrizione dettagliata

Una volta completata con successo l'operazione, la risposta conterrà un elenco di suggerimenti per i termini di ricerca. Vedere Suggerimenti di ricerca per un esempio su come utilizzare una risposta contenente suggerimenti di ricerca.

Vedi anche QPlaceManager.

Documentazione sulle funzioni membro

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

Crea una risposta con suggerimenti di ricerca utilizzando un dato parent.

[virtual noexcept] QPlaceSearchSuggestionReply::~QPlaceSearchSuggestionReply()

Elimina la risposta.

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

Imposta il termine di ricerca suggestions.

Vedi anche suggestions().

QStringList QPlaceSearchSuggestionReply::suggestions() const

Restituisce i suggerimenti relativi al termine di ricerca.

Vedi anche setSuggestions().

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

Reimplementa: ` QPlaceReply::type()` const.

Restituisce il tipo di risposta.

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