The QPlaceSearchSuggestionReply class manages a search suggestion operation started by an instance of QPlaceManager. More...
|qmake:||QT += location|
|QPlaceSearchSuggestionReply(QObject *parent = nullptr)|
Reimplemented Public Functions
|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.
See also QPlaceManager.
Member Function Documentation
[explicit] QPlaceSearchSuggestionReply::QPlaceSearchSuggestionReply(QObject *parent = nullptr)
Constructs a search suggestion reply with a given parent.
Destroys the reply.
[protected] void QPlaceSearchSuggestionReply::setSuggestions(const QStringList &suggestions)
Sets the search term suggestions.
See also suggestions().
QStringList QPlaceSearchSuggestionReply::suggestions() const
Returns the search term suggestions.
See also setSuggestions().
[override virtual] QPlaceReply::Type QPlaceSearchSuggestionReply::type() const
Reimplements: QPlaceReply::type() const.
Returns type of reply.
© 2023 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.