QPlaceSearchSuggestionReply Class
The QPlaceSearchSuggestionReply class manages a search suggestion operation started by an instance of QPlaceManager. 更多...
头文件: | #include <QPlaceSearchSuggestionReply> |
qmake: | QT += location |
开始支持版本: | Qt 5.6 |
基类: | QPlaceReply |
公有函数
QPlaceSearchSuggestionReply(QObject *parent = Q_NULLPTR) | |
~QPlaceSearchSuggestionReply() | |
QStringList | suggestions() const |
重新实现的公有函数
virtual Type | type() const |
- 4 个公有函数继承自 QPlaceReply
- 32 个公有函数继承自 QObject
受保护的函数
void | setSuggestions(const QStringList &suggestions) |
- 2 个受保护的函数继承自 QPlaceReply
- 9 个受保护的函数继承自 QObject
其他继承的成员
- 1 个属性继承自 QObject
- 1 个公有槽函数继承自 QPlaceReply
- 1 个公有槽函数继承自 QObject
- 3 个信号继承自 QPlaceReply
- 2 个信号继承自 QObject
- 1 个公有变量继承自 QObject
- 10 个静态公有成员继承自 QObject
- 2 个受保护的变量继承自 QObject
详细描述
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().
[virtual]
Type QPlaceSearchSuggestionReply::type() const
Reimplemented from QPlaceReply::type().
Returns type of reply.