QSimpleUpdater
A simple auto-updater system for Qt applications
|
Implements an integrated file downloader with a nice UI. More...
#include <Downloader.h>
Public Slots | |
void | startDownload (const QUrl &url) |
void | setUseCustomInstallProcedures (const bool &custom) |
Signals | |
void | downloadFinished (const QString &url, const QString &filepath) |
Public Member Functions | |
Downloader (QWidget *parent=0) | |
bool | useCustomInstallProcedures () const |
Implements an integrated file downloader with a nice UI.
|
slot |
If the custom parameter is set to true
, then the Downloader
will not attempt to open the downloaded file.
Use the signals fired by the QSimpleUpdater
to implement your own install procedures.
Referenced by Updater::setUseCustomInstallProcedures().
|
slot |
Begins downloading the file at the given url
References useCustomInstallProcedures().
Referenced by Updater::setUseCustomInstallProcedures().
bool Downloader::useCustomInstallProcedures | ( | ) | const |
Returns true
if the updater shall not intervene when the download has finished (you can use the QSimpleUpdater
signals to know when the download is completed).
Referenced by startDownload(), and Updater::useCustomInstallProcedures().