QPlaceMatchReply Class▲
-
Header: QPlaceMatchReply
-
qmake: QT += location
-
Inherits: QPlaceReply
-
Inherited By:
-
Group: QPlaceMatchReply is part of QtLocation-places, QtLocation-places-replies
Detailed Description▲
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.
See Also▲
See also QPlaceMatchRequest, QPlaceManager
Member Function Documentation▲
[explicit] QPlaceMatchReply::QPlaceMatchReply(QObject *parent = nullptr)▲
Constructs a match reply with a given parent.
[virtual] QPlaceMatchReply::~QPlaceMatchReply()▲
Destroys the match reply.
QList<QPlace> QPlaceMatchReply::places() const▲
QPlaceMatchRequest QPlaceMatchReply::request() const▲
[protected] void QPlaceMatchReply::setPlaces(const QList<QPlace> &places)▲
[protected] void QPlaceMatchReply::setRequest(const QPlaceMatchRequest &request)▲
[override virtual] QPlaceReply::Type QPlaceMatchReply::type() const▲
Reimplements: QPlaceReply::type() const.
Returns the type of reply.