The QPlaceSearchSuggestionReply class manages a search suggestion operation started by an instance of QPlaceManager . 更多...
头: | #include <QPlaceSearchSuggestionReply> |
qmake: | QT += location |
继承: | QPlaceReply |
QPlaceSearchSuggestionReply (QObject * parent = nullptr) | |
virtual | ~QPlaceSearchSuggestionReply () |
QStringList | suggestions () const |
virtual QPlaceReply::Type | type () const override |
void | setSuggestions (const QStringList & suggestions ) |
On successful completion of the operation, the reply will contain a list of search term suggestions. See Search Suggestions for an example on how to use a search suggestion reply.
另请参阅 QPlaceManager .
[explicit]
QPlaceSearchSuggestionReply::
QPlaceSearchSuggestionReply
(
QObject
*
parent
= nullptr)
Constructs a search suggestion reply with a given parent .
[virtual noexcept]
QPlaceSearchSuggestionReply::
~QPlaceSearchSuggestionReply
()
Destroys the reply.
[protected]
void
QPlaceSearchSuggestionReply::
setSuggestions
(const
QStringList
&
suggestions
)
Sets the search term suggestions .
另请参阅 suggestions ().
Returns the search term suggestions.
另请参阅 setSuggestions ().
[override virtual]
QPlaceReply::Type
QPlaceSearchSuggestionReply::
type
() const
重实现: QPlaceReply::type() const .
Returns type of reply.