QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
#include <qgsnetworkdiskcache.h>
Public Slots | |
void | clear () override |
Public Member Functions | |
QString | cacheDirectory () const |
qint64 | cacheSize () const override |
QIODevice * | data (const QUrl &url) override |
QNetworkCacheMetaData | fileMetaData (const QString &fileName) const |
void | insert (QIODevice *device) override |
qint64 | maximumCacheSize () const |
QNetworkCacheMetaData | metaData (const QUrl &url) override |
QIODevice * | prepare (const QNetworkCacheMetaData &metaData) override |
bool | remove (const QUrl &url) override |
void | setCacheDirectory (const QString &cacheDir) |
void | setMaximumCacheSize (qint64 size) |
void | updateMetaData (const QNetworkCacheMetaData &metaData) override |
Protected Member Functions | |
qint64 | expire () override |
Friends | |
class | QgsNetworkAccessManager |
Wrapper implementation of QNetworkDiskCache with all methods guarded by a mutex soly for internal use of QgsNetworkAccessManagers
Definition at line 48 of file qgsnetworkdiskcache.h.
QString QgsNetworkDiskCache::cacheDirectory | ( | ) | const |
Definition at line 31 of file qgsnetworkdiskcache.cpp.
|
override |
Definition at line 55 of file qgsnetworkdiskcache.cpp.
|
overrideslot |
Definition at line 109 of file qgsnetworkdiskcache.cpp.
|
override |
Definition at line 73 of file qgsnetworkdiskcache.cpp.
|
overrideprotected |
Definition at line 103 of file qgsnetworkdiskcache.cpp.
QNetworkCacheMetaData QgsNetworkDiskCache::fileMetaData | ( | const QString & | fileName | ) | const |
Definition at line 97 of file qgsnetworkdiskcache.cpp.
|
override |
Definition at line 91 of file qgsnetworkdiskcache.cpp.
qint64 QgsNetworkDiskCache::maximumCacheSize | ( | ) | const |
Definition at line 43 of file qgsnetworkdiskcache.cpp.
|
override |
Definition at line 61 of file qgsnetworkdiskcache.cpp.
|
override |
Definition at line 85 of file qgsnetworkdiskcache.cpp.
|
override |
Definition at line 79 of file qgsnetworkdiskcache.cpp.
void QgsNetworkDiskCache::setCacheDirectory | ( | const QString & | cacheDir | ) |
Definition at line 37 of file qgsnetworkdiskcache.cpp.
void QgsNetworkDiskCache::setMaximumCacheSize | ( | qint64 | size | ) |
Definition at line 49 of file qgsnetworkdiskcache.cpp.
|
override |
Definition at line 67 of file qgsnetworkdiskcache.cpp.
|
friend |
Definition at line 104 of file qgsnetworkdiskcache.h.