Skip to content

PythonQt.QtNetwork.QNetworkCacheMetaData

QNetworkCacheMetaData

PythonQtInstanceWrapper object

Native bases: PythonQtInstanceWrapper

Supplemental documentation: Qt 5 reference:

Detailed Description

QNetworkCacheMetaData provides information about a cache file including the url, when it was last modified, when the cache file was created, headers for file and if the file should be saved onto a disk.

Source: https://doc.qt.io/archives/qt-5.15/qnetworkcachemetadata.html

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
__init__ function (self, *args: Any, **kwargs: Any) -> None Native constructor; consult class documentation for supported overloads. (shared captured text)
attributes function (self) -> dict X.attributes() -> dict
className function (self, *args: Any, **kwargs: Any) -> Any Return the classname of the object (shared captured text)
delete function (self, *args: Any, **kwargs: Any) -> Any Deletes the C++ object (at your own risk, my friend!) (shared captured text)
expirationDate function (self) -> Any X.expirationDate() -> PythonQt.QtCore.QDateTime
help function (self, *args: Any, **kwargs: Any) -> Any Shows the help of available methods for this class (shared captured text)
inherits function (self, *args: Any, **kwargs: Any) -> Any Returns if the class inherits or is of given type name (shared captured text)
isValid function (self) -> bool X.isValid() -> bool
lastModified function (self) -> Any X.lastModified() -> PythonQt.QtCore.QDateTime
rawHeaders function (self) -> tuple X.rawHeaders() -> tuple
readFrom function (self, arg__1: Any) -> Any (shared captured text)
saveToDisk function (self) -> bool X.saveToDisk() -> bool
setAttributes function (self, attributes: Any) -> None Sets all attributes of this cache item to be the map attributes.
setExpirationDate function (self, dateTime: Any) -> None Sets the date and time when the meta data expires to dateTime.
setLastModified function (self, dateTime: Any) -> None Sets the date and time when the meta data was last modified to dateTime.
setRawHeaders function (self, headers: Any) -> None Sets the raw headers to list.
setSaveToDisk function (self, allow: bool) -> None Sets whether this network cache meta data and associated content should be allowed to be stored on disk to allow.
setUrl function (self, url: Any) -> None Sets the URL this network cache meta data to be url.
swap function (self, other: Any) -> None Swaps this metadata instance with other.
url function (self) -> Any X.url() -> PythonQt.QtCore.QUrl
writeTo function (self, arg__1: Any) -> Any (shared captured text)