ResourceFileDownloader Class | Qt Installer Framework Manual

- Qt Installer Framework Manual
- ResourceFileDownloader

# ResourceFileDownloader Class

(KDUpdater::ResourceFileDownloader)

The ResourceFileDownloader class can be used to download resource files. More...

Header: | #include <ResourceFileDownloader>

- List of all members, including inherited members

## Public Variables

int |

## Protected Functions

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

## Detailed Description

The ResourceFileDownloader class can be used to download resource files.

## Member Function Documentation

### `[protected]` void ResourceFileDownloader::onError()

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

### `[protected]` void ResourceFileDownloader::onSuccess()

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

### `[protected]` void ResourceFileDownloader::timerEvent(int *event)

Called when the download timer event event occurs.