C# Class Qyoto.QNetworkDiskCache

Inheritance: QAbstractNetworkCache, IDisposable
ファイルを表示 Open project: 0xd34df00d/Qross

Public Methods

Method Description
CacheDirectory ( ) : string
Dispose ( ) : void
FileMetaData ( string fileName ) : QNetworkCacheMetaData
MaximumCacheSize ( ) : long
QNetworkDiskCache ( QObject parent ) : System
SetCacheDirectory ( string cacheDir ) : void
SetMaximumCacheSize ( long size ) : void
Tr ( string s ) : string
Tr ( string s, string c ) : string

Protected Methods

Method Description
CreateProxy ( ) : void
QNetworkDiskCache ( Type dummy ) : System

Private Methods

Method Description
CacheSize ( ) : long
Clear ( ) : void
Data ( QUrl url ) : Qyoto.QIODevice
Expire ( ) : long
Insert ( Qyoto.QIODevice device ) : void
MetaData ( QUrl url ) : QNetworkCacheMetaData
Prepare ( QNetworkCacheMetaData metaData ) : Qyoto.QIODevice
QNetworkDiskCache ( ) : System
Remove ( QUrl url ) : bool
UpdateMetaData ( QNetworkCacheMetaData metaData ) : void

Method Details

CacheDirectory() public method

public CacheDirectory ( ) : string
return string

CreateProxy() protected method

protected CreateProxy ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

FileMetaData() public method

public FileMetaData ( string fileName ) : QNetworkCacheMetaData
fileName string
return QNetworkCacheMetaData

MaximumCacheSize() public method

public MaximumCacheSize ( ) : long
return long

QNetworkDiskCache() public method

public QNetworkDiskCache ( QObject parent ) : System
parent QObject
return System

QNetworkDiskCache() protected method

protected QNetworkDiskCache ( Type dummy ) : System
dummy System.Type
return System

SetCacheDirectory() public method

public SetCacheDirectory ( string cacheDir ) : void
cacheDir string
return void

SetMaximumCacheSize() public method

public SetMaximumCacheSize ( long size ) : void
size long
return void

Tr() public static method

public static Tr ( string s ) : string
s string
return string

Tr() public static method

public static Tr ( string s, string c ) : string
s string
c string
return string