QPlaceSearchSuggestionReply Class

The QPlaceSearchSuggestionReply class manages a search suggestion operation started by an instance of QPlaceManager . 更多...

头: #include <QPlaceSearchSuggestionReply>
qmake: QT += location
Since: Qt 5.6
继承: QPlaceReply

公共函数

QPlaceSearchSuggestionReply (QObject * parent = Q_NULLPTR)
~QPlaceSearchSuggestionReply ()
QStringList suggestions () const

重实现公共函数

virtual Type type () const

保护函数

void setSuggestions (const QStringList & suggestions )

额外继承成员

详细描述

The QPlaceSearchSuggestionReply class manages a search suggestion operation started by an instance of QPlaceManager .

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 .

成员函数文档编制

QPlaceSearchSuggestionReply:: QPlaceSearchSuggestionReply ( QObject * parent = Q_NULLPTR)

Constructs a search suggestion reply with a given parent .

QPlaceSearchSuggestionReply:: ~QPlaceSearchSuggestionReply ()

Destroys the reply.

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

Sets the search term suggestions .

另请参阅 suggestions ().

QStringList QPlaceSearchSuggestionReply:: suggestions () const

Returns the search term suggestions.

另请参阅 setSuggestions ().

[虚拟] Type QPlaceSearchSuggestionReply:: type () const

重实现自 QPlaceReply::type ().

Returns type of reply.