QNetworkCacheMetaData Class Reference

QNetworkCacheMetaData Class Reference

#include <qabstractnetworkcache.h>

Class Description

Definition at line 62 of file qabstractnetworkcache.h.

Public Types

typedef QPair< QByteArray, QByteArrayRawHeader
 
typedef QList< RawHeaderRawHeaderList
 
typedef QHash< QNetworkRequest::Attribute, QVariantAttributesMap
 

Public Member Functions

 QNetworkCacheMetaData ()
 
 QNetworkCacheMetaData (const QNetworkCacheMetaData &other)
 
 ~QNetworkCacheMetaData ()
 
QNetworkCacheMetaDataoperator= (const QNetworkCacheMetaData &other)
 
bool operator== (const QNetworkCacheMetaData &other) const
 
bool operator!= (const QNetworkCacheMetaData &other) const
 
bool isValid () const
 
QUrl url () const
 
void setUrl (const QUrl &url)
 
RawHeaderList rawHeaders () const
 
void setRawHeaders (const RawHeaderList &headers)
 
QDateTime lastModified () const
 
void setLastModified (const QDateTime &dateTime)
 
QDateTime expirationDate () const
 
void setExpirationDate (const QDateTime &dateTime)
 
bool saveToDisk () const
 
void setSaveToDisk (bool allow)
 
AttributesMap attributes () const
 
void setAttributes (const AttributesMap &attributes)
 

Friends

class QNetworkCacheMetaDataPrivate
 

Member Typedef Documentation

Definition at line 66 of file qabstractnetworkcache.h.

Definition at line 67 of file qabstractnetworkcache.h.

Constructor & Destructor Documentation

Member Function Documentation

QNetworkCacheMetaData& operator= ( const QNetworkCacheMetaData other)
bool operator== ( const QNetworkCacheMetaData other) const
bool operator!= ( const QNetworkCacheMetaData other) const
inline

Definition at line 76 of file qabstractnetworkcache.h.

77  { return !(*this == other); }
bool isValid ( ) const
QUrl url ( ) const
void setUrl ( const QUrl url)
RawHeaderList rawHeaders ( ) const
void setRawHeaders ( const RawHeaderList headers)
QDateTime lastModified ( ) const
void setLastModified ( const QDateTime dateTime)
QDateTime expirationDate ( ) const
void setExpirationDate ( const QDateTime dateTime)
bool saveToDisk ( ) const
void setSaveToDisk ( bool  allow)
AttributesMap attributes ( ) const
void setAttributes ( const AttributesMap attributes)

Friends And Related Function Documentation

friend class QNetworkCacheMetaDataPrivate
friend

Definition at line 100 of file qabstractnetworkcache.h.


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