Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qnetworkdiskcache.cpp File Reference

(082a7cd459578e76006b98f903867a55a0f430e7)

#include "qnetworkdiskcache.h"
#include "qnetworkdiskcache_p.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"
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 , CacheMagic = 0xe8 , CurrentCacheVersion = CACHE_VERSION }
enum  { CacheMagic = 0xe8 , CurrentCacheVersion = CACHE_VERSION , 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 [1/2]

anonymous enum
Enumerator
CacheMagic 
CurrentCacheVersion 
CacheMagic 
CurrentCacheVersion 

Definition at line 608 of file qnetworkdiskcache.cpp.

◆ anonymous enum [2/2]

anonymous enum
Enumerator
CacheMagic 
CurrentCacheVersion 
CacheMagic 
CurrentCacheVersion 

Definition at line 608 of file qnetworkdiskcache.cpp.