Qt Utilities: QtUtilities::RestartHandler Class Reference

Qt Utilities 6.22.1 Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models

Loading...
Searching...
No Matches
Public Member Functions | List of all members
QtUtilities::RestartHandler Class Reference

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 ()

## Detailed Description

The RestartHandler class allows quitting and respawning the application if a restart is requested.

Remarks
  This class is experimental and might be changed in incompatible ways (API and ABI wise) or completely removed in further minor/patch releases.

Definition at line 252 of file updater.h.

## Constructor & Destructor Documentation

## ◆ RestartHandler()

QtUtilities::RestartHandler::RestartHandler | ( |  | ) |
| inlineexplicit

Definition at line 254 of file updater.h.

## Member Function Documentation

## ◆ isRestartRequested()

bool QtUtilities::RestartHandler::isRestartRequested | ( |  | ) |
| inline

Definition at line 258 of file updater.h.

## ◆ requester()

std::function< void()> QtUtilities::RestartHandler::requester | ( |  | ) |
| inline

Definition at line 268 of file updater.h.

## ◆ requestRestart()

void QtUtilities::RestartHandler::requestRestart | ( |  | ) |

Definition at line 1325 of file updater.cpp.

## ◆ reset()

void QtUtilities::RestartHandler::reset | ( |  | ) |
| inline

Definition at line 263 of file updater.h.

## ◆ respawnIfRestartRequested()

void QtUtilities::RestartHandler::respawnIfRestartRequested | ( |  | ) |

Definition at line 1333 of file updater.cpp.

The documentation for this class was generated from the following files:

- setup/updater.h
- setup/updater.cpp