|
wiRedPanda
Logic Circuit Simulator
|
Owns the update-check lifecycle: querying for a newer release and presenting the resulting notification / download dialogs. More...
#include <UpdateController.h>
Public Member Functions | |
| void | checkForUpdates () |
| Starts an asynchronous version check; shows the update dialog if one is available. | |
| UpdateController (QWidget *parent) | |
Friends | |
| class | TestUpdateController |
Owns the update-check lifecycle: querying for a newer release and presenting the resulting notification / download dialogs.
Extracted from MainWindow. Couples only to a parent QWidget (for dialog parenting) and Settings; it has no dependency on tabs, scenes, or circuit state. Call checkForUpdates() once after the window is shown.
Definition at line 27 of file UpdateController.h.
|
explicit |
| parent | Widget used to parent the modal update dialogs (and as QObject parent). |
Definition at line 30 of file UpdateController.cpp.
| void UpdateController::checkForUpdates | ( | ) |
Starts an asynchronous version check; shows the update dialog if one is available.
Definition at line 36 of file UpdateController.cpp.
References Application::interactiveMode, and UpdateChecker::updateAvailable().
|
friend |
Definition at line 31 of file UpdateController.h.
References TestUpdateController.
Referenced by TestUpdateController.