HttpDownloader Class
(KDUpdater::HttpDownloader)The HttpDownloader class is used to download files over FTP, HTTP, or HTTPS. More...
| Header: | #include <HttpDownloader> |
| Inherits: | KDUpdater::FileDownloader |
Public Functions
| HttpDownloader(QObject *parent = 0) | |
| virtual | ~HttpDownloader() |
Reimplemented Public Functions
| virtual bool | canDownload() const override |
| virtual KDUpdater::HttpDownloader * | 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 *event) 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 HttpDownloader class is used to download files over FTP, HTTP, or HTTPS.
HTTPS is supported if Qt is built with SSL.
Member Function Documentation
HttpDownloader::HttpDownloader(QObject *parent = 0)
Default constructs an instance of HttpDownloader.
[virtual] HttpDownloader::~HttpDownloader()
Destroys the instance of HttpDownloader. The destructor is virtual.
[override virtual] bool HttpDownloader::canDownload() const
[override virtual slot] void HttpDownloader::cancelDownload()
[override virtual] KDUpdater::HttpDownloader *HttpDownloader::clone(QObject *parent = 0) const
[override virtual] QString HttpDownloader::downloadedFileName() const
See also setDownloadedFileName().
[override virtual] bool HttpDownloader::isDownloaded() const
[override virtual protected] void HttpDownloader::onError()
[override virtual protected] void HttpDownloader::onSuccess()
[override virtual] void HttpDownloader::setDownloadedFileName(const QString &name)
See also downloadedFileName().