RestartPage Class | Qt Installer Framework Manual

- Qt Installer Framework Manual
- RestartPage

# RestartPage Class

class QInstaller::RestartPage

The RestartPage class enables restarting the installer. More...

Header: | #include <RestartPage>
Inherits: | QInstaller::PackageManagerPage

- List of all members, including inherited members

## Public Functions

| RestartPage(QInstaller::PackageManagerCore *core)

## Reimplemented Public Functions

virtual int | nextId() const override

## Signals

void | restart()

## Reimplemented Protected Functions

virtual void | entering() override
virtual void | leaving() override

## Detailed Description

The restart installation page enables end users to restart the wizard. This is useful, for example, if the maintenance tool itself needs to be updated before updating the application components. When updating is done, end users can select Restart to start the maintenance tool.

## Member Function Documentation

### `[explicit]` RestartPage::RestartPage(QInstaller::PackageManagerCore *core)

Constructs a restart installation page with core as parent.

### `[override virtual protected]` void RestartPage::entering()

Reimplements: PackageManagerPage::entering().

Initializes the page's fields based on values from fields on previous pages.

### `[override virtual protected]` void RestartPage::leaving()

Reimplements: PackageManagerPage::leaving().

Called when end users leave the page and the PackageManagerGui:currentPageChanged() signal is triggered.

### `[override virtual]` int RestartPage::nextId() const

Reimplements: PackageManagerPage::nextId() const.

Returns the introduction page.

### `[signal]` void RestartPage::restart()

This signal is emitted when the installer is restarted.