Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include "qnetworkdiskcache.h"
#include "qnetworkdiskcache_p.h"
#include "QtCore/qscopedpointer.h"
#include <qfile.h>
#include <qdir.h>
#include <qdatastream.h>
#include <qdatetime.h>
#include <qdirlisting.h>
#include <qurl.h>
#include <qcryptographichash.h>
#include <qdebug.h>
#include <memory>
#include "moc_qnetworkdiskcache.cpp"
Go to the source code of this file.
Macros | |
#define | CACHE_POSTFIX ".d"_L1 |
#define | CACHE_VERSION 8 |
#define | DATA_DIR "data"_L1 |
#define | MAX_COMPRESSION_SIZE (1024 * 1024 * 3) |
Enumerations | |
enum | { CacheMagic = 0xe8 , CurrentCacheVersion = CACHE_VERSION } |
#define CACHE_POSTFIX ".d"_L1 |
Definition at line 22 of file qnetworkdiskcache.cpp.
Referenced by QNetworkDiskCache::expire(), QNetworkDiskCachePrivate::removeFile(), and QNetworkDiskCachePrivate::uniqueFileName().
#define CACHE_VERSION 8 |
Definition at line 23 of file qnetworkdiskcache.cpp.
Referenced by QNetworkDiskCache::setCacheDirectory().
#define DATA_DIR "data"_L1 |
Definition at line 24 of file qnetworkdiskcache.cpp.
Referenced by QNetworkDiskCache::setCacheDirectory().
#define MAX_COMPRESSION_SIZE (1024 * 1024 * 3) |
Definition at line 26 of file qnetworkdiskcache.cpp.
Referenced by QCacheItem::canCompress().
anonymous enum |
Enumerator | |
---|---|
CacheMagic | |
CurrentCacheVersion |
Definition at line 600 of file qnetworkdiskcache.cpp.