src/network/access/qnetworkdiskcache.cpp
changeset 22 79de32ba3296
parent 18 2f34d5167611
equal deleted inserted replaced
19:fcece45ef507 22:79de32ba3296
    39 **
    39 **
    40 ****************************************************************************/
    40 ****************************************************************************/
    41 
    41 
    42 //#define QNETWORKDISKCACHE_DEBUG
    42 //#define QNETWORKDISKCACHE_DEBUG
    43 
    43 
    44 #ifndef QT_NO_NETWORKDISKCACHE
       
    45 
    44 
    46 #include "qnetworkdiskcache.h"
    45 #include "qnetworkdiskcache.h"
    47 #include "qnetworkdiskcache_p.h"
    46 #include "qnetworkdiskcache_p.h"
    48 #include "QtCore/qscopedpointer.h"
    47 #include "QtCore/qscopedpointer.h"
    49 
    48 
    57 #include <qdebug.h>
    56 #include <qdebug.h>
    58 
    57 
    59 #define CACHE_PREFIX  QLatin1String("cache_")
    58 #define CACHE_PREFIX  QLatin1String("cache_")
    60 #define CACHE_POSTFIX QLatin1String(".cache")
    59 #define CACHE_POSTFIX QLatin1String(".cache")
    61 #define MAX_COMPRESSION_SIZE (1024 * 1024 * 3)
    60 #define MAX_COMPRESSION_SIZE (1024 * 1024 * 3)
       
    61 
       
    62 #ifndef QT_NO_NETWORKDISKCACHE
    62 
    63 
    63 QT_BEGIN_NAMESPACE
    64 QT_BEGIN_NAMESPACE
    64 
    65 
    65 /*!
    66 /*!
    66     \class QNetworkDiskCache
    67     \class QNetworkDiskCache