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>.
Loading...
Searching...
No Matches
qnetworkdiskcache.cpp File Reference

(78b0d507ce8728c6287196f78b7c428d9bbdcda3)

#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"
+ 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

◆ CACHE_VERSION

#define CACHE_VERSION   8

Definition at line 23 of file qnetworkdiskcache.cpp.

Referenced by QNetworkDiskCache::setCacheDirectory().

◆ DATA_DIR

#define DATA_DIR   "data"_L1

Definition at line 24 of file qnetworkdiskcache.cpp.

Referenced by QNetworkDiskCache::setCacheDirectory().

◆ MAX_COMPRESSION_SIZE

#define MAX_COMPRESSION_SIZE   (1024 * 1024 * 3)

Definition at line 26 of file qnetworkdiskcache.cpp.

Referenced by QCacheItem::canCompress().

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
CacheMagic 
CurrentCacheVersion 

Definition at line 600 of file qnetworkdiskcache.cpp.