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

#include <qnetworkaccesscache_p.h>

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

Public Types

enum class  Option { Expires = 0x01 , Shareable = 0x02 }
typedef QFlags< OptionOptions

Public Member Functions

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

Protected Member Functions

 CacheableObject (Options options)

Friends

class QNetworkAccessCache

Detailed Description

Definition at line 41 of file qnetworkaccesscache_p.h.

Member Typedef Documentation

◆ Options

Member Enumeration Documentation

◆ Option

Enumerator
Expires 
Shareable 

Definition at line 49 of file qnetworkaccesscache_p.h.

Constructor & Destructor Documentation

◆ ~CacheableObject()

QNetworkAccessCache::CacheableObject::~CacheableObject ( )
virtual

Definition at line 42 of file qnetworkaccesscache.cpp.

◆ CacheableObject()

QNetworkAccessCache::CacheableObject::CacheableObject ( Options options)
explicitprotected

Definition at line 35 of file qnetworkaccesscache.cpp.

References Expires, and Shareable.

Member Function Documentation

◆ cacheKey()

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

Definition at line 57 of file qnetworkaccesscache_p.h.

◆ dispose()

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

◆ QNetworkAccessCache

friend class QNetworkAccessCache
friend

Definition at line 43 of file qnetworkaccesscache_p.h.


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