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:

next 鈥� PySide2.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:

previous 鈥� PySide2.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:

request 鈥� PySide2.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()