class QPlaceSearchReply

The QPlaceSearchReply class manages a place search operation started by an instance of QPlaceManager . More

Inheritance diagram of PySide6.QtLocation.QPlaceSearchReply

Synopsis

Methods

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

See Discovery/Search for an example on how to use a search reply.

__init__([parent=None])
Parameters:

parentQObject

Constructs a search reply with a given parent.

nextPageRequest()
Return type:

QPlaceSearchRequest

Returns a place search request which can be used to request the next page of search results. An empty place search request is returned if there is no next page of results.

previousPageRequest()
Return type:

QPlaceSearchRequest

Returns a place search request which can be used to request the previous page of search results. An empty place search request is returned if there is no previous page of results.

request()
Return type:

QPlaceSearchRequest

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

See also

setRequest()

results()
Return type:

.list of QPlaceSearchResult

Returns a list of search results;

See also

setResults()

setNextPageRequest(next)
Parameters:

nextQPlaceSearchRequest

Sets the next page of search results request to next.

setPreviousPageRequest(previous)
Parameters:

previousQPlaceSearchRequest

Sets the previous page of search results request to previous.

setRequest(request)
Parameters:

requestQPlaceSearchRequest

Sets the search request used to generate this reply.

See also

request()

setResults(results)
Parameters:

results – .list of QPlaceSearchResult

Sets the list of search results.

See also

results()