![]() |
QSimpleUpdater
A simple auto-updater system for Qt applications
|
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 |
|
signal |
Emitted when the download has finished. You can use this to implement your own procedures to install the downloaded updates.
Referenced by startDownload().
|
slot |
If custom
is set to true, then the Downloader will not attempt to open or install the downloaded updates. This can be useful if you want to implement your own install procedures using the downloadFinished()
signal.
Referenced by Updater::setUseCustomInstallProcedures().
|
slot |
Begins downloading the update
References downloadFinished(), and useCustomInstallProcedures().
Referenced by Updater::setModuleVersion().
bool Downloader::useCustomInstallProcedures | ( | ) | const |
Returns true
if the downloader will not attempt to install the downloaded file.
This can be useful if you want to use the downloadFinished()
signal to implement your own install procedures.
Referenced by startDownload(), and Updater::useCustomInstallProcedures().