Class: QgsAbstractContentCacheBase¶
-
class
qgis.core.
QgsAbstractContentCacheBase
(parent: QObject)¶ Bases:
PyQt5.QtCore.QObject
Constructor for QgsAbstractContentCacheBase, with the specified
parent
object.A QObject derived base class for
QgsAbstractContentCache
.Required because template based class (such as
QgsAbstractContentCache
) cannot use the Q_OBJECT macro.New in version 3.6: Enums
Methods
Runs additional checks on a network
reply
to ensure that the reply content is consistent with that required by the cache.Triggered after remote content (i.e.
Signals
Emitted when the cache has finished retrieving content from a remote
url
.Attributes
-
checkReply
(self, reply: QNetworkReply, path: str) → bool¶ Runs additional checks on a network
reply
to ensure that the reply content is consistent with that required by the cache.
-
childEvent
()¶
-
connectNotify
()¶
-
customEvent
()¶
-
disconnectNotify
()¶
-
isSignalConnected
()¶
-
onRemoteContentFetched
(self, url: str, success: bool)¶ Triggered after remote content (i.e. HTTP linked content at the given
url
) has been fetched.The
success
argument will beTrue
if the content was successfully fetched, orFalse
if it was not fetched successfully.
-
receivers
()¶
-
remoteContentFetched
¶ Emitted when the cache has finished retrieving content from a remote
url
. [signal]
-
sender
()¶
-
senderSignalIndex
()¶
-
timerEvent
()¶
-