HttpDownloader Class

(KDUpdater::HttpDownloader)

The HttpDownloader class is used to download files over FTP, HTTP, or HTTPS. More...

Header: #include <HttpDownloader>

Protected Functions

void onError()
void onSuccess()
void timerEvent(int *event)

Detailed Description

The HttpDownloader class is used to download files over FTP, HTTP, or HTTPS.

HTTPS is supported if Qt is built with SSL.

Member Function Documentation

[protected] void HttpDownloader::onError()

Closes the destination file if an error occurs during copying and stops the download speed timer.

[protected] void HttpDownloader::onSuccess()

Closes the destination file after it has been successfully copied and stops the download speed timer.

[protected] void HttpDownloader::timerEvent(int *event)

Called when the download timer event event occurs.