Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qnetworkdiskcache.cpp File Reference
#include "qnetworkdiskcache.h"
#include "qnetworkdiskcache_p.h"
#include "QtCore/qscopedpointer.h"
#include <qfile.h>
#include <qdir.h>
#include <qdatastream.h>
#include <qdatetime.h>
#include <qdiriterator.h>
#include <qurl.h>
#include <qcryptographichash.h>
#include <qdebug.h>
#include <memory>
#include "moc_qnetworkdiskcache.cpp"
+ Include dependency graph for 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 }
 

Macro Definition Documentation

◆ CACHE_POSTFIX

#define CACHE_POSTFIX   ".d"_L1

Definition at line 22 of file qnetworkdiskcache.cpp.

◆ CACHE_VERSION

#define CACHE_VERSION   8

Definition at line 23 of file qnetworkdiskcache.cpp.

◆ DATA_DIR

#define DATA_DIR   "data"_L1

Definition at line 24 of file qnetworkdiskcache.cpp.

◆ MAX_COMPRESSION_SIZE

#define MAX_COMPRESSION_SIZE   (1024 * 1024 * 3)

Definition at line 26 of file qnetworkdiskcache.cpp.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
CacheMagic 
CurrentCacheVersion 

Definition at line 612 of file qnetworkdiskcache.cpp.