|
Qt Utilities 6.22.1
Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models
|
The RestartHandler class allows quitting and respawning the application if a restart is requested. More...
#include <updater.h>
Public Member Functions | |
| RestartHandler () | |
| bool | isRestartRequested () |
| void | requestRestart () |
| void | reset () |
| void | respawnIfRestartRequested () |
| std::function< void()> | requester () |
The RestartHandler class allows quitting and respawning the application if a restart is requested.
|
inlineexplicit |
|
inline |
|
inline |
| void QtUtilities::RestartHandler::requestRestart | ( | ) |
Definition at line 1325 of file updater.cpp.
| void QtUtilities::RestartHandler::respawnIfRestartRequested | ( | ) |
Definition at line 1333 of file updater.cpp.