Qt 4.8
|
#include "qnetworkdiskcache.h"
#include "qnetworkdiskcache_p.h"
#include "QtCore/qscopedpointer.h"
#include <qfile.h>
#include <qdir.h>
#include <qdatetime.h>
#include <qdiriterator.h>
#include <qurl.h>
#include <qcryptographichash.h>
#include <qdebug.h>
Go to the source code of this file.
Macros | |
#define | CACHE_POSTFIX QLatin1String(".d") |
#define | CACHE_VERSION 7 |
#define | DATA_DIR QLatin1String("data") |
#define | MAX_COMPRESSION_SIZE (1024 * 1024 * 3) |
#define | PREPARED_SLASH QLatin1String("prepared/") |
Enumerations | |
enum | { CacheMagic = 0xe8, CurrentCacheVersion = CACHE_VERSION } |
#define CACHE_POSTFIX QLatin1String(".d") |
Definition at line 57 of file qnetworkdiskcache.cpp.
Referenced by QNetworkDiskCache::expire(), QNetworkDiskCachePrivate::removeFile(), QNetworkDiskCachePrivate::tmpCacheFileName(), and QNetworkDiskCachePrivate::uniqueFileName().
#define CACHE_VERSION 7 |
Definition at line 59 of file qnetworkdiskcache.cpp.
Referenced by QNetworkDiskCache::setCacheDirectory().
#define DATA_DIR QLatin1String("data") |
Definition at line 60 of file qnetworkdiskcache.cpp.
Referenced by QNetworkDiskCache::setCacheDirectory().
#define MAX_COMPRESSION_SIZE (1024 * 1024 * 3) |
Definition at line 62 of file qnetworkdiskcache.cpp.
Referenced by QCacheItem::canCompress().
#define PREPARED_SLASH QLatin1String("prepared/") |
Definition at line 58 of file qnetworkdiskcache.cpp.
Referenced by QNetworkDiskCachePrivate::prepareLayout(), and QNetworkDiskCachePrivate::tmpCacheFileName().
anonymous enum |
Enumerator | |
---|---|
CacheMagic | |
CurrentCacheVersion |
Definition at line 666 of file qnetworkdiskcache.cpp.