QPlaceSearchSuggestionReply Class
The QPlaceSearchSuggestionReply class manages a search suggestion operation started by an instance of QPlaceManager. More...
Header: | #include <QPlaceSearchSuggestionReply> |
qmake: | QT += location |
Since: | Qt 5.6 |
Inherits: | QPlaceReply |
This class was introduced in Qt 5.6.
Public Functions
QPlaceSearchSuggestionReply(QObject *parent = nullptr) | |
virtual | ~QPlaceSearchSuggestionReply() |
QStringList | suggestions() const |
Reimplemented Public Functions
virtual QPlaceReply::Type | type() const override |
- 4 public functions inherited from QPlaceReply
- 30 public functions inherited from QObject
Protected Functions
void | setSuggestions(const QStringList &suggestions) |
- 2 protected functions inherited from QPlaceReply
- 9 protected functions inherited from QObject
Related Non-Members
typedef | QObjectList |
QList<T> | qFindChildren(const QObject *obj, const QRegExp ®Exp) |
T | qobject_cast(QObject *object) |
T | qobject_cast(const QObject *object) |
Macros
QT_NO_NARROWING_CONVERSIONS_IN_CONNECT | |
Q_CLASSINFO(Name, Value) | |
Q_DISABLE_COPY(Class) | |
Q_DISABLE_COPY_MOVE(Class) | |
Q_DISABLE_MOVE(Class) | |
Q_EMIT | |
Q_ENUM(...) | |
Q_ENUM_NS(...) | |
Q_FLAG(...) | |
Q_FLAG_NS(...) | |
Q_GADGET | |
Q_INTERFACES(...) | |
Q_INVOKABLE | |
Q_NAMESPACE | |
Q_OBJECT | |
Q_PROPERTY(...) | |
Q_REVISION | |
Q_SET_OBJECT_NAME(Object) | |
Q_SIGNAL | |
Q_SIGNALS | |
Q_SLOT | |
Q_SLOTS |
Additional Inherited Members
- 1 property inherited from QObject
- 1 public slot inherited from QPlaceReply
- 1 public slot inherited from QObject
- 4 signals inherited from QPlaceReply
- 2 signals inherited from QObject
- 9 static public members inherited from QObject
Detailed Description
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
QPlaceSearchSuggestionReply::QPlaceSearchSuggestionReply(QObject *parent = nullptr)
Constructs a search suggestion reply with a given parent.
[virtual]
QPlaceSearchSuggestionReply::~QPlaceSearchSuggestionReply()
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.