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
QNetworkAccessCache::CacheableObject Class Referenceabstract

#include <qnetworkaccesscache_p.h>

+ Inheritance diagram for QNetworkAccessCache::CacheableObject:
+ Collaboration diagram for QNetworkAccessCache::CacheableObject:

Public Member Functions

 CacheableObject ()
 
virtual ~CacheableObject ()
 
virtual void dispose ()=0
 
QByteArray cacheKey () const
 

Protected Member Functions

void setExpires (bool enable)
 
void setShareable (bool enable)
 

Friends

class QNetworkAccessCache
 

Detailed Description

Definition at line 40 of file qnetworkaccesscache_p.h.

Constructor & Destructor Documentation

◆ CacheableObject()

QNetworkAccessCache::CacheableObject::CacheableObject ( )

Definition at line 42 of file qnetworkaccesscache.cpp.

◆ ~CacheableObject()

QNetworkAccessCache::CacheableObject::~CacheableObject ( )
virtual

Definition at line 48 of file qnetworkaccesscache.cpp.

References QNetworkAccessCache::hasEntry(), and qWarning.

+ Here is the call graph for this function:

Member Function Documentation

◆ cacheKey()

QByteArray QNetworkAccessCache::CacheableObject::cacheKey ( ) const
inline

Definition at line 51 of file qnetworkaccesscache_p.h.

◆ dispose()

virtual void QNetworkAccessCache::CacheableObject::dispose ( )
pure virtual

Implemented in QNetworkAccessCachedHttpConnection, and QNetworkAuthenticationCache.

Referenced by QNetworkAccessCache::addEntry(), and QNetworkAccessCache::timerEvent().

+ Here is the caller graph for this function:

◆ setExpires()

void QNetworkAccessCache::CacheableObject::setExpires ( bool enable)
protected

Definition at line 57 of file qnetworkaccesscache.cpp.

Referenced by QNetworkAccessCachedHttpConnection::QNetworkAccessCachedHttpConnection(), and QNetworkAuthenticationCache::QNetworkAuthenticationCache().

+ Here is the caller graph for this function:

◆ setShareable()

void QNetworkAccessCache::CacheableObject::setShareable ( bool enable)
protected

Definition at line 62 of file qnetworkaccesscache.cpp.

Referenced by QNetworkAccessCachedHttpConnection::QNetworkAccessCachedHttpConnection(), and QNetworkAuthenticationCache::QNetworkAuthenticationCache().

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ QNetworkAccessCache

friend class QNetworkAccessCache
friend

Definition at line 42 of file qnetworkaccesscache_p.h.


The documentation for this class was generated from the following files: