QPlaceMatchReply Class

The QPlaceMatchReply class manages a place matching operation started by an instance of QPlaceManager. More...

Header: #include <QPlaceMatchReply>
qmake: QT += location
Since: Qt 5.6
Inherits: QPlaceReply

This class was introduced in Qt 5.6.

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 QPlaceMatchRequest and QPlaceManager.