QPlaceContentReply

The QPlaceContentReply class manages a content retrieval operation started by an instance of QPlaceManager . More

Inheritance diagram of PySide2.QtLocation.QPlaceContentReply

Synopsis

Functions

Detailed Description

See Fetching Rich Content for an example on how to use a content reply.

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

PySide2.QtCore.QObject

Constructs a content reply with a given parent .

PySide2.QtLocation.QPlaceContentReply.content()
Return type:

Returns the collection of content retrieved.

See also

setContent()

PySide2.QtLocation.QPlaceContentReply.nextPageRequest()
Return type:

PySide2.QtLocation.QPlaceContentRequest

Returns a place content request that can be used to request the next batch of place content results.

PySide2.QtLocation.QPlaceContentReply.previousPageRequest()
Return type:

PySide2.QtLocation.QPlaceContentRequest

Returns a place content request that can be used to request the previous batch of place content results.

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

PySide2.QtLocation.QPlaceContentRequest

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

See also

setRequest()

PySide2.QtLocation.QPlaceContentReply.setContent(content)
Parameters:

content

Sets the content of the reply.

See also

content()

PySide2.QtLocation.QPlaceContentReply.setNextPageRequest(next)
Parameters:

nextPySide2.QtLocation.QPlaceContentRequest

Sets the place content request that can be used to request the next batch of place content results to next .

PySide2.QtLocation.QPlaceContentReply.setPreviousPageRequest(previous)
Parameters:

previousPySide2.QtLocation.QPlaceContentRequest

Sets the place content request that can be used to request the previous batch of place content results to previous .

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

requestPySide2.QtLocation.QPlaceContentRequest

Sets the content request used to generate this this reply.

See also

request()

PySide2.QtLocation.QPlaceContentReply.setTotalCount(total)
Parameters:

total – int

Sets the total number of content objects for a place.

See also

totalCount()

PySide2.QtLocation.QPlaceContentReply.totalCount()
Return type:

int

Returns the total number of content objects for a place. If the total number of content objects cannot be counted, a value of -1 is returned. This count only refers to the total count for a single content type, that is, the content type that was specified when content was requested with the QPlaceManager .

See also

setTotalCount()