#include <qabstractnetworkcache.h>
Definition at line 62 of file qabstractnetworkcache.h.
Public Types | |
typedef QPair< QByteArray, QByteArray > | RawHeader |
typedef QList< RawHeader > | RawHeaderList |
typedef QHash< QNetworkRequest::Attribute, QVariant > | AttributesMap |
Public Member Functions | |
QNetworkCacheMetaData () | |
QNetworkCacheMetaData (const QNetworkCacheMetaData &other) | |
~QNetworkCacheMetaData () | |
QNetworkCacheMetaData & | operator= (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 |
typedef QPair<QByteArray, QByteArray> RawHeader |
Definition at line 66 of file qabstractnetworkcache.h.
typedef QList<RawHeader> RawHeaderList |
Definition at line 67 of file qabstractnetworkcache.h.
typedef QHash<QNetworkRequest::Attribute, QVariant> AttributesMap |
Definition at line 68 of file qabstractnetworkcache.h.
QNetworkCacheMetaData | ( | const QNetworkCacheMetaData & | other | ) |
QNetworkCacheMetaData& operator= | ( | const QNetworkCacheMetaData & | other | ) |
bool operator== | ( | const QNetworkCacheMetaData & | other | ) | const |
|
inline |
Definition at line 76 of file qabstractnetworkcache.h.
bool isValid | ( | ) | const |
QUrl url | ( | ) | const |
RawHeaderList rawHeaders | ( | ) | const |
void setRawHeaders | ( | const RawHeaderList & | headers | ) |
QDateTime lastModified | ( | ) | const |
QDateTime expirationDate | ( | ) | const |
bool saveToDisk | ( | ) | const |
void setSaveToDisk | ( | bool | allow | ) |
AttributesMap attributes | ( | ) | const |
void setAttributes | ( | const AttributesMap & | attributes | ) |
|
friend |
Definition at line 100 of file qabstractnetworkcache.h.