QPlaceMatchReply

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

Inheritance diagram of PySide2.QtLocation.QPlaceMatchReply

Synopsis

Functions

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.

class PySide2.QtLocation.QPlaceMatchReply([parent=None])
param parent:

PySide2.QtCore.QObject

Constructs a match reply with a given parent .

PySide2.QtLocation.QPlaceMatchReply.places()
Return type:

Returns a list of matching places;

See also

setPlaces()

PySide2.QtLocation.QPlaceMatchReply.request()
Return type:

PySide2.QtLocation.QPlaceMatchRequest

Returns the match request that was used to generate this reply.

See also

setRequest()

PySide2.QtLocation.QPlaceMatchReply.setPlaces(results)
Parameters:

results

Sets the list of matching places .

See also

places()

PySide2.QtLocation.QPlaceMatchReply.setRequest(request)
Parameters:

requestPySide2.QtLocation.QPlaceMatchRequest

Sets the match request used to generate this reply.

See also

request()