#include <QtNetwork/QNetworkDiskCache>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QNetworkDiskCache




Public Functions Index

QNetworkDiskCache (QObject *parent=0)
~QNetworkDiskCache ()
QStringcacheDirectory () const
virtual qint64cacheSize () const
virtual QIODevice *data (const QUrl &url)
QNetworkCacheMetaDatafileMetaData (const QString &fileName) const
virtual voidinsert (QIODevice *device)
qint64maximumCacheSize () const
virtual QNetworkCacheMetaDatametaData (const QUrl &url)
virtual QIODevice *prepare (const QNetworkCacheMetaData &metaData)
virtual boolremove (const QUrl &url)
voidsetCacheDirectory (const QString &cacheDir)
voidsetMaximumCacheSize (qint64 size)
virtual voidupdateMetaData (const QNetworkCacheMetaData &metaData)

Protected Functions Index

virtual qint64expire ()
QAbstractNetworkCache (QObject *parent=0)Inherited
QAbstractNetworkCache (QAbstractNetworkCachePrivate &dd, QObject *parent)Inherited

Public Slots Index

virtual voidclear ()

Public Functions

QNetworkDiskCache (

~QNetworkDiskCache ()


QString cacheDirectory ()

virtual qint64 cacheSize ()

virtualQIODevice * data (

QNetworkCacheMetaData fileMetaData (

virtual void insert (

qint64 maximumCacheSize ()

virtualQNetworkCacheMetaData metaData (

virtualQIODevice * prepare (

virtual bool remove (

void setCacheDirectory (

void setMaximumCacheSize (
  • qint64size)

virtual void updateMetaData (

Protected Functions

virtual qint64 expire ()

QAbstractNetworkCache (Inherited

QAbstractNetworkCache (
  • QAbstractNetworkCachePrivate &dd,
  • QObject *parent )

Public Slots

virtual void clear ()

Last modified: 2015-07-24

Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus