QAbstractNetworkCache Class
The QAbstractNetworkCache class provides the interface for cache implementations. More...
| Header: | #include <QAbstractNetworkCache> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Network)target_link_libraries(mytarget PRIVATE Qt6::Network) |
| qmake: | QT += network |
| Inherits: | QObject |
| Inherited By: |
Public Functions
| virtual | ~QAbstractNetworkCache() |
Protected Functions
| QAbstractNetworkCache(QObject *parent = nullptr) |
Detailed Description
QAbstractNetworkCache is the base class for every standard cache that is used by QNetworkAccessManager. QAbstractNetworkCache is an abstract class and cannot be instantiated.
See also QNetworkDiskCache.
Member Function Documentation
[explicit protected] QAbstractNetworkCache::QAbstractNetworkCache(QObject *parent = nullptr)
Constructs an abstract network cache with the given parent.
[virtual noexcept] QAbstractNetworkCache::~QAbstractNetworkCache()
Destroys the cache.
Any operations that have not been inserted are discarded.
See also insert().