|
Qt Utilities 6.22.1
Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models
|
The UpdateHandler class manages the non-graphical aspects of checking for new updates and performing them. More...
#include <updater.h>
Classes | |
| struct | CheckInterval |
| The CheckInterval struct specifies whether automatic checks for updates are enabled and of often they should be done. More... | |
Public Slots | |
| void | applySettings () |
| void | performUpdate () |
| void | saveNotifierState () |
Public Member Functions | |
| UpdateHandler (QSettings *settings, QNetworkAccessManager *nm, QObject *parent=nullptr) | |
| Handles checking for updates and performing an update of the application if available. | |
| UpdateHandler (const QString &executableName, const QString &signatureExtension, QSettings *settings, QNetworkAccessManager *nm, QObject *parent=nullptr) | |
| Handles checking for updates and performing an update of the application if available. | |
| ~UpdateHandler () override | |
| UpdateNotifier * | notifier () |
| Updater * | updater () |
| const CheckInterval & | checkInterval () const |
| void | setCheckInterval (CheckInterval checkInterval) |
| bool | isConsideringSeparateSignature () const |
| void | setConsideringSeparateSignature (bool consideringSeparateSignature) |
| QString | preCheck () const |
Static Public Member Functions | |
| static UpdateHandler * | mainInstance () |
| static void | setMainInstance (UpdateHandler *mainInstance) |
Properties | |
| UpdateNotifier * | notifier |
| Updater * | updater |
The UpdateHandler class manages the non-graphical aspects of checking for new updates and performing them.
|
explicit |
Handles checking for updates and performing an update of the application if available.
Definition at line 1179 of file updater.cpp.
|
explicit |
Handles checking for updates and performing an update of the application if available.
Definition at line 1187 of file updater.cpp.
|
override |
Definition at line 1201 of file updater.cpp.
|
slot |
Definition at line 1277 of file updater.cpp.
| const UpdateHandler::CheckInterval & QtUtilities::UpdateHandler::checkInterval | ( | ) | const |
Definition at line 1215 of file updater.cpp.
| bool QtUtilities::UpdateHandler::isConsideringSeparateSignature | ( | ) | const |
Definition at line 1240 of file updater.cpp.
|
inlinestatic |
| UpdateNotifier * QtUtilities::UpdateHandler::notifier | ( | ) |
|
slot |
Definition at line 1285 of file updater.cpp.
| QString QtUtilities::UpdateHandler::preCheck | ( | ) | const |
Definition at line 1250 of file updater.cpp.
|
slot |
Definition at line 1292 of file updater.cpp.
| void QtUtilities::UpdateHandler::setCheckInterval | ( | CheckInterval | checkInterval | ) |
Definition at line 1228 of file updater.cpp.
| void QtUtilities::UpdateHandler::setConsideringSeparateSignature | ( | bool | consideringSeparateSignature | ) |
Definition at line 1245 of file updater.cpp.
|
inlinestatic |
| Updater * QtUtilities::UpdateHandler::updater | ( | ) |
|
read |