Qyoto
4.0.5
Qyoto is a C# language binding for Qt
|
The QNetworkCacheMetaData class provides cache information. More...
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] |
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.
|
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.
|
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 |
Returns true if this meta data is not equal to the other meta data; otherwise returns false.
See also operator==().
|
static |
Returns true if this meta data is equal to the other meta data; otherwise returns false.
See also operator!=().
|
protected |
|
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.
|
getset |
Returns the date and time when the meta data expires.
Sets the date and time when the meta data expires to dateTime.
|
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.
|
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.
|
getset |
|
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.