- class QPlaceMatchReply¶
The
QPlaceMatchReply
class manages a place matching operation started by an instance ofQPlaceManager
. More…Synopsis¶
Methods¶
def
__init__()
def
places()
def
request()
def
setPlaces()
def
setRequest()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
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
Constructs a match reply with a given
parent
.Returns a list of matching places;
See also
- request()¶
- Return type:
Returns the match request that was used to generate this reply.
See also
- setPlaces(results)¶
- Parameters:
results – .list of QPlace
Sets the list of matching
places
.See also
- setRequest(request)¶
- Parameters:
request –
QPlaceMatchRequest
Sets the match
request
used to generate this reply.See also