QtNetwork/qnetworkdiskcache.h Source File
Go to the documentation of this file.
42 #ifndef QNETWORKDISKCACHE_H
43 #define QNETWORKDISKCACHE_H
53 #ifndef QT_NO_NETWORKDISKCACHE
55 class QNetworkDiskCachePrivate;
65 void setCacheDirectory(
const QString &cacheDir);
67 qint64 maximumCacheSize()
const;
74 bool remove(
const QUrl &url);
91 #endif // QT_NO_NETWORKDISKCACHE
97 #endif // QNETWORKDISKCACHE_H
virtual qint64 cacheSize() const =0
virtual QNetworkCacheMetaData metaData(const QUrl &url)=0
virtual QIODevice * prepare(const QNetworkCacheMetaData &metaData)=0
virtual void insert(QIODevice *device)=0
virtual QIODevice * data(const QUrl &url)=0
#define QT_BEGIN_NAMESPACE
virtual void updateMetaData(const QNetworkCacheMetaData &metaData)=0