Qyoto  4.0.5
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Properties
QtNetwork.QNetworkCacheMetaData Class Reference

The QNetworkCacheMetaData class provides cache information. More...

Inheritance diagram for QtNetwork.QNetworkCacheMetaData:
Collaboration diagram for QtNetwork.QNetworkCacheMetaData:

Public Member Functions

override bool Equals (object o)
 
override int GetHashCode ()
 
 QNetworkCacheMetaData ()
 
 
 QNetworkCacheMetaData (QNetworkCacheMetaData other)
 
 
virtual void CreateProxy ()
 
new bool IsValid ()
 
 
new void Dispose ()
 

Static Public Member Functions

static bool operator!= (QNetworkCacheMetaData arg1, QNetworkCacheMetaData arg2)
 
 
static bool operator== (QNetworkCacheMetaData arg1, QNetworkCacheMetaData arg2)
 
 

Protected Member Functions

 QNetworkCacheMetaData (System.Type dummy)
 

Protected Attributes

SmokeInvocation interceptor
 

Properties

new
System.Collections.Generic.Dictionary
< QNetworkRequest.Attribute,
System.Object > 
Attributes [get, set]
 
 
new QDateTime ExpirationDate [get, set]
 
 
new QDateTime LastModified [get, set]
 
 
new bool SaveToDisk [get, set]
 
 
new QUrl Url [get, set]
 
 
virtual System.IntPtr SmokeObject [get, set]
 

Detailed Description

The QNetworkCacheMetaData class provides cache information.

QNetworkCacheMetaData provides information about a cache file including the url, when it was last modified, when the cache file was created, headers for file and if the file should be saved onto a disk.

See also QAbstractNetworkCache.

Constructor & Destructor Documentation

QtNetwork.QNetworkCacheMetaData.QNetworkCacheMetaData ( System.Type  dummy)
protected
QtNetwork.QNetworkCacheMetaData.QNetworkCacheMetaData ( )

Constructs an invalid network cache meta data.

See also isValid().

QtNetwork.QNetworkCacheMetaData.QNetworkCacheMetaData ( QNetworkCacheMetaData  other)

Constructs a copy of the other QNetworkCacheMetaData.

Member Function Documentation

virtual void QtNetwork.QNetworkCacheMetaData.CreateProxy ( )
virtual
new void QtNetwork.QNetworkCacheMetaData.Dispose ( )
override bool QtNetwork.QNetworkCacheMetaData.Equals ( object  o)
override int QtNetwork.QNetworkCacheMetaData.GetHashCode ( )
new bool QtNetwork.QNetworkCacheMetaData.IsValid ( )

Returns true if this network cache meta data has attributes that have been set otherwise false.

static bool QtNetwork.QNetworkCacheMetaData.operator!= ( QNetworkCacheMetaData  arg1,
QNetworkCacheMetaData  arg2 
)
static

Returns true if this meta data is not equal to the other meta data; otherwise returns false.

See also operator==().

static bool QtNetwork.QNetworkCacheMetaData.operator== ( QNetworkCacheMetaData  arg1,
QNetworkCacheMetaData  arg2 
)
static

Returns true if this meta data is equal to the other meta data; otherwise returns false.

See also operator!=().

Member Data Documentation

SmokeInvocation QtNetwork.QNetworkCacheMetaData.interceptor
protected

Property Documentation

new System.Collections.Generic.Dictionary<QNetworkRequest.Attribute,System.Object> QtNetwork.QNetworkCacheMetaData.Attributes
getset

Returns all the attributes stored with this cache item.

This function was introduced in Qt 4.6.

Sets all attributes of this cache item to be the map attributes.

This function was introduced in Qt 4.6.

new QDateTime QtNetwork.QNetworkCacheMetaData.ExpirationDate
getset

Returns the date and time when the meta data expires.

Sets the date and time when the meta data expires to dateTime.

new QDateTime QtNetwork.QNetworkCacheMetaData.LastModified
getset

Returns the date and time when the meta data was last modified.

Sets the date and time when the meta data was last modified to dateTime.

new bool QtNetwork.QNetworkCacheMetaData.SaveToDisk
getset

Returns is this cache should be allowed to be stored on disk.

Some cache implementations can keep these cache items in memory for performance reasons, but for security reasons they should not be written to disk.

Specifically with http, documents marked with Pragma: no-cache, or have a Cache-control set to no-store or no-cache or any https document that doesn't have "Cache-control: public" set will set the saveToDisk to false.

Sets whether this network cache meta data and associated content should be allowed to be stored on disk to allow.

virtual System.IntPtr QtNetwork.QNetworkCacheMetaData.SmokeObject
getset
new QUrl QtNetwork.QNetworkCacheMetaData.Url
getset

Returns the URL this network cache meta data is referring to.

Sets the URL this network cache meta data to to be url.

The password and fragment are removed from the url.