|qmake:||QT += location|
|QPlaceMatchReply(QObject *parent = nullptr)|
|virtual QPlaceReply::Type||type() const|
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
- 1 public variable inherited from QObject
- 1 protected type inherited from QPlaceReply
- 2 protected variables inherited from QObject
If the operation is successful, the number of places in the reply matches those in the request. If a particular place in the request is not found, a default constructed place is used as a place holder in the reply. In this way, there is always a one is to one relationship between input places in the request, and output places in the reply.
If the operation is not successful the number of places is always zero.
See Matching places between managers for an example on how to use a match reply.
Member Function Documentation
QPlaceMatchReply::QPlaceMatchReply(QObject *parent = nullptr)
Constructs a match reply with a given parent.
Destroys the match reply.
Returns a list of matching places;
See also setPlaces().
QPlaceMatchRequest QPlaceMatchReply::request() const
Returns the match request that was used to generate this reply.
See also setRequest().
Sets the list of matching places.
See also places().
[protected] void QPlaceMatchReply::setRequest(const QPlaceMatchRequest &request)
Sets the match request used to generate this reply.
See also request().
[virtual] QPlaceReply::Type QPlaceMatchReply::type() const
Reimplemented from QPlaceReply::type().
Returns the type of reply.
© 2018 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.