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>
Inherits: | KDUpdater::FileDownloader

- List of all members, including inherited members

## Public Functions

| ResourceFileDownloader(QObject *parent = 0)
virtual | ~ResourceFileDownloader()

## Reimplemented Public Functions

virtual bool | canDownload() const override
virtual KDUpdater::ResourceFileDownloader * | clone(QObject *parent = 0) const override
virtual QString | downloadedFileName() const override
virtual bool | isDownloaded() const override
virtual void | setDownloadedFileName(const QString &name) override

- 27 public functions inherited from KDUpdater::FileDownloader

## Public Slots

virtual void | cancelDownload() override

- 1 public slot inherited from KDUpdater::FileDownloader

## Static Public Members

const QMetaObject | staticMetaObject

## Reimplemented Protected Functions

virtual void | onError() override
virtual void | onSuccess() override
virtual void | timerEvent(QTimerEvent *te) override

- 28 protected functions inherited from KDUpdater::FileDownloader

### Additional Inherited Members

- 3 properties inherited from KDUpdater::FileDownloader
- 10 signals inherited from KDUpdater::FileDownloader
- 28 protected functions inherited from KDUpdater::FileDownloader

## Detailed Description

The ResourceFileDownloader class can be used to download resource files.

## Member Function Documentation

### ResourceFileDownloader::ResourceFileDownloader(QObject *parent = 0)

Default constructs an instance of ResourceFileDownloader.

### `[virtual]` ResourceFileDownloader::~ResourceFileDownloader()

Destroys the instance of ResourceFileDownloader. The destructor is virtual.

### `[override virtual]` bool ResourceFileDownloader::canDownload() const

### `[override virtual slot]` void ResourceFileDownloader::cancelDownload()

### `[override virtual]` KDUpdater::ResourceFileDownloader *ResourceFileDownloader::clone(QObject *parent = 0) const

### `[override virtual]` QString ResourceFileDownloader::downloadedFileName() const

See also setDownloadedFileName().

### `[override virtual]` bool ResourceFileDownloader::isDownloaded() const

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

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

### `[override virtual]` void ResourceFileDownloader::setDownloadedFileName(const QString &name)

See also downloadedFileName().

### `[override virtual protected]` void ResourceFileDownloader::timerEvent(QTimerEvent *te)