QAbstractNetworkCache Class

The QAbstractNetworkCache class provides the interface for cache implementations. More...

Header: #include <QAbstractNetworkCache>
qmake: QT += network
Since: Qt 4.5
Inherits: QObject
Inherited By:

QNetworkDiskCache

This class was introduced in Qt 4.5.

Public Functions

  • 16 public functions inherited from QObject

Protected Functions

QAbstractNetworkCache(QObject *parent = nullptr)
  • 8 protected functions inherited from QObject
typedef QObjectList

Macros

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot inherited from QObject
  • 1 signal inherited from QObject
  • 5 static public members inherited from QObject

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

[protected] QAbstractNetworkCache::QAbstractNetworkCache(QObject *parent = nullptr)

Constructs an abstract network cache with the given parent.

[virtual] QAbstractNetworkCache::~QAbstractNetworkCache()

Destroys the cache.

Any operations that have not been inserted are discarded.

See also insert().