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 = nullptr)
virtual ~QPlaceSearchSuggestionReply ()
QStringList suggestions () const

重實現公共函數

virtual QPlaceReply::Type type () const

靜態公共成員

const QMetaObject staticMetaObject

保護函數

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 = 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 ().

[虛擬] QPlaceReply::Type QPlaceSearchSuggestionReply:: type () const

重實現自 QPlaceReply::type ().

Returns type of reply.