WebDownload (gb.qt4.webkit)
This class allows to manage a
WebView file download.
该类是可创建。
常数
Cancelled
|
This constant is used by the Status property to indicate that the download has been cancelled.
|
Created
|
This constant is used by the Status property to indicate that the WebDownload object has just been created.
|
Downloading
|
This constant is used by the Status property to indicate that the file is being downloaded.
|
Error
|
This constant is used by the Status property to indicate that the download has failed.
|
Finished
|
This constant is used by the Status property to indicate that the download is finished.
|
属性
ErrorText
|
Return the error text when the download has failed.
|
Path
|
Return or set the destination path of the file download.
|
Progress
|
Return the file download progress, between 0.0 and 1.0 .
|
Size
|
Return the size of the downloaded file.
|
Status
|
Return the status of the file download, as one of the following constant:
|
Url
|
Return the URL of the file being downloaded.
|
方法