4#ifndef QNETWORKDISKCACHE_H
5#define QNETWORKDISKCACHE_H
7#include <QtNetwork/qtnetworkglobal.h>
8#include <QtNetwork/qabstractnetworkcache.h>
26 qint64 maximumCacheSize()
const;
40 void clear()
override;
IOBluetoothDevice * device
The QAbstractNetworkCache class provides the interface for cache implementations.
virtual void insert(QIODevice *device)=0
Inserts the data in device and the prepared meta data into the cache.
virtual void updateMetaData(const QNetworkCacheMetaData &metaData)=0
Updates the cache meta date for the metaData's url to metaData.
virtual QNetworkCacheMetaData metaData(const QUrl &url)=0
Returns the meta data for the url url.
virtual QIODevice * prepare(const QNetworkCacheMetaData &metaData)=0
Returns the device that should be populated with the data for the cache item metaData.
virtual qint64 cacheSize() const =0
Returns the current size taken up by the cache.
virtual void clear()=0
Removes all items from the cache.
virtual bool remove(const QUrl &url)=0
Removes the cache entry for url, returning true if success otherwise false.
\inmodule QtCore \reentrant
The QNetworkDiskCache class provides a very basic disk cache.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
#define QT_REQUIRE_CONFIG(feature)
QUrl url("example.com")
[constructor-url-reference]
diskCache setCacheDirectory(directory)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent