Qyoto  4.0.7
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator 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 ()
  More...
 
 QNetworkCacheMetaData (QNetworkCacheMetaData other)
  More...
 
virtual void CreateProxy ()
 
new void Dispose ()
 

Static Public Member Functions

static bool operator!= (QNetworkCacheMetaData one, QNetworkCacheMetaData other)
  More...
 
static bool operator== (QNetworkCacheMetaData one, QNetworkCacheMetaData other)
  More...
 

Protected Member Functions

 QNetworkCacheMetaData (System.Type dummy)
 

Protected Attributes

SmokeInvocation interceptor
 

Properties

System.Collections.Generic.Dictionary
< QNetworkRequest.Attribute,
System.Object > 
Attributes [get, set]
  More...
 
QDateTime ExpirationDate [get, set]
  More...
 
QDateTime LastModified [get, set]
  More...
 
bool SaveToDisk [get, set]
  More...
 
QUrl Url [get, set]
  More...
 
bool IsValid [get]
  More...
 
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().

Here is the call graph for this function:

Here is the caller graph for this function:

QtNetwork.QNetworkCacheMetaData.QNetworkCacheMetaData ( QNetworkCacheMetaData  other)

Constructs a copy of the other QNetworkCacheMetaData.

Here is the call graph for this function:

Member Function Documentation

virtual void QtNetwork.QNetworkCacheMetaData.CreateProxy ( )
virtual

Here is the caller graph for this function:

new void QtNetwork.QNetworkCacheMetaData.Dispose ( )
override bool QtNetwork.QNetworkCacheMetaData.Equals ( object  o)

Here is the call graph for this function:

override int QtNetwork.QNetworkCacheMetaData.GetHashCode ( )
static bool QtNetwork.QNetworkCacheMetaData.operator!= ( QNetworkCacheMetaData  one,
QNetworkCacheMetaData  other 
)
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  one,
QNetworkCacheMetaData  other 
)
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

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.

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.

bool QtNetwork.QNetworkCacheMetaData.IsValid
get

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

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.

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
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.