|
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) | |
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 25 of file UpdateController.h.
|
explicit |
| parent | Widget used to parent the modal update dialogs (and as QObject parent). |
Definition at line 29 of file UpdateController.cpp.
| void UpdateController::checkForUpdates | ( | ) |
Starts an asynchronous version check; shows the update dialog if one is available.
Definition at line 35 of file UpdateController.cpp.
References Application::interactiveMode, and UpdateChecker::updateAvailable().