|
Qt Utilities 6.22.1
Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models
|
The UpdateNotifier class allows checking for new updates. More...
#include <updater.h>
Public Slots | |
| void | checkForUpdate () |
| void | resetUpdateInfo () |
| void | supplyNewReleaseData (const QByteArray &data) |
Signals | |
| void | inProgressChanged (bool inProgress) |
| void | checkedForUpdate () |
| void | updateAvailable (const QString &version, const QString &additionalInfo) |
Public Member Functions | |
| UpdateNotifier (QObject *parent=nullptr) | |
| ~UpdateNotifier () override | |
| bool | isSupported () const |
| bool | isInProgress () const |
| bool | isUpdateAvailable () const |
| UpdateCheckFlags | flags () const |
| void | setFlags (UpdateCheckFlags flags) |
| const QString & | executableName () const |
| const QString & | newVersion () const |
| const QString & | latestVersion () const |
| const QString & | additionalInfo () const |
| const QString & | releaseNotes () const |
| const QString & | error () const |
| const QUrl & | downloadUrl () const |
| const QUrl & | signatureUrl () const |
| const QUrl & | previousVersionDownloadUrl () const |
| const QUrl & | previousVersionSignatureUrl () const |
| QString | status () const |
| CppUtilities::DateTime | lastCheck () const |
| void | restore (QSettings *settings) |
| void | save (QSettings *settings) |
| void | setNetworkAccessManager (QNetworkAccessManager *nm) |
Properties | |
| bool | supported |
| bool | inProgress |
| bool | updateAvailable |
| QString | executableName |
| QString | newVersion |
| QString | additionalInfo |
| QString | releaseNotes |
| QString | error |
| QUrl | downloadUrl |
| QUrl | signatureUrl |
| QUrl | previousVersionDownloadUrl |
| QUrl | previousVersionSignatureUrl |
The UpdateNotifier class allows checking for new updates.
|
explicit |
Definition at line 202 of file updater.cpp.
|
override |
Definition at line 243 of file updater.cpp.
| const QString & QtUtilities::UpdateNotifier::additionalInfo | ( | ) | const |
Definition at line 322 of file updater.cpp.
|
signal |
|
slot |
Definition at line 499 of file updater.cpp.
| const QUrl & QtUtilities::UpdateNotifier::downloadUrl | ( | ) | const |
Definition at line 347 of file updater.cpp.
| const QString & QtUtilities::UpdateNotifier::error | ( | ) | const |
Definition at line 342 of file updater.cpp.
| const QString & QtUtilities::UpdateNotifier::executableName | ( | ) | const |
Definition at line 292 of file updater.cpp.
| UpdateCheckFlags QtUtilities::UpdateNotifier::flags | ( | ) | const |
Definition at line 274 of file updater.cpp.
|
signal |
| bool QtUtilities::UpdateNotifier::isInProgress | ( | ) | const |
Definition at line 256 of file updater.cpp.
| bool QtUtilities::UpdateNotifier::isSupported | ( | ) | const |
Definition at line 247 of file updater.cpp.
| bool QtUtilities::UpdateNotifier::isUpdateAvailable | ( | ) | const |
Definition at line 265 of file updater.cpp.
| CppUtilities::DateTime QtUtilities::UpdateNotifier::lastCheck | ( | ) | const |
Definition at line 387 of file updater.cpp.
| const QString & QtUtilities::UpdateNotifier::latestVersion | ( | ) | const |
Definition at line 312 of file updater.cpp.
| const QString & QtUtilities::UpdateNotifier::newVersion | ( | ) | const |
Definition at line 302 of file updater.cpp.
| const QUrl & QtUtilities::UpdateNotifier::previousVersionDownloadUrl | ( | ) | const |
Definition at line 367 of file updater.cpp.
| const QUrl & QtUtilities::UpdateNotifier::previousVersionSignatureUrl | ( | ) | const |
Definition at line 377 of file updater.cpp.
| const QString & QtUtilities::UpdateNotifier::releaseNotes | ( | ) | const |
Definition at line 332 of file updater.cpp.
|
slot |
Definition at line 515 of file updater.cpp.
| void QtUtilities::UpdateNotifier::restore | ( | QSettings * | settings | ) |
Definition at line 396 of file updater.cpp.
| void QtUtilities::UpdateNotifier::save | ( | QSettings * | settings | ) |
Definition at line 415 of file updater.cpp.
| void QtUtilities::UpdateNotifier::setFlags | ( | UpdateCheckFlags | flags | ) |
Definition at line 283 of file updater.cpp.
| void QtUtilities::UpdateNotifier::setNetworkAccessManager | ( | QNetworkAccessManager * | nm | ) |
Definition at line 455 of file updater.cpp.
| const QUrl & QtUtilities::UpdateNotifier::signatureUrl | ( | ) | const |
Definition at line 357 of file updater.cpp.
| QString QtUtilities::UpdateNotifier::status | ( | ) | const |
Definition at line 434 of file updater.cpp.
|
slot |
Definition at line 545 of file updater.cpp.
|
signal |
|
read |
|
read |