Qt 4.8
Macros | Enumerations
qnetworkdiskcache.cpp File Reference
#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 }
 

Macro Definition Documentation

◆ CACHE_POSTFIX

#define CACHE_POSTFIX   QLatin1String(".d")

◆ CACHE_VERSION

#define CACHE_VERSION   7

Definition at line 59 of file qnetworkdiskcache.cpp.

Referenced by QNetworkDiskCache::setCacheDirectory().

◆ DATA_DIR

#define DATA_DIR   QLatin1String("data")

Definition at line 60 of file qnetworkdiskcache.cpp.

Referenced by QNetworkDiskCache::setCacheDirectory().

◆ MAX_COMPRESSION_SIZE

#define MAX_COMPRESSION_SIZE   (1024 * 1024 * 3)

Definition at line 62 of file qnetworkdiskcache.cpp.

Referenced by QCacheItem::canCompress().

◆ PREPARED_SLASH

#define PREPARED_SLASH   QLatin1String("prepared/")

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
CacheMagic 
CurrentCacheVersion 

Definition at line 666 of file qnetworkdiskcache.cpp.