QPlaceContentReply¶
The
QPlaceContentReply
class manages a content retrieval operation started by an instance ofQPlaceManager
. More…
Synopsis¶
Functions¶
def
content
()def
nextPageRequest
()def
previousPageRequest
()def
request
()def
setContent
(content)def
setNextPageRequest
(next)def
setPreviousPageRequest
(previous)def
setRequest
(request)def
setTotalCount
(total)def
totalCount
()
Detailed Description¶
See Fetching Rich Content for an example on how to use a content reply.
See also
- class PySide2.QtLocation.QPlaceContentReply([parent=None])¶
- param parent:
Constructs a content reply with a given
parent
.
- PySide2.QtLocation.QPlaceContentReply.content()¶
- Return type:
Returns the collection of content retrieved.
See also
- PySide2.QtLocation.QPlaceContentReply.nextPageRequest()¶
- Return type:
Returns a place content request that can be used to request the next batch of place content results.
See also
- PySide2.QtLocation.QPlaceContentReply.previousPageRequest()¶
- Return type:
Returns a place content request that can be used to request the previous batch of place content results.
See also
- PySide2.QtLocation.QPlaceContentReply.request()¶
- Return type:
Returns the content request that was used to generate this reply.
See also
- PySide2.QtLocation.QPlaceContentReply.setContent(content)¶
- Parameters:
content –
Sets the
content
of the reply.See also
- PySide2.QtLocation.QPlaceContentReply.setNextPageRequest(next)¶
- Parameters:
Sets the place content request that can be used to request the next batch of place content results to
next
.See also
- 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
.See also
- PySide2.QtLocation.QPlaceContentReply.setRequest(request)¶
- Parameters:
request –
PySide2.QtLocation.QPlaceContentRequest
Sets the content
request
used to generate this this reply.See also
- PySide2.QtLocation.QPlaceContentReply.setTotalCount(total)¶
- Parameters:
total – int
Sets the
total
number of content objects for a place.See also
- 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
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.