RestartPage Class | Qt Installer Framework Manual

Qt Installer Framework Manual | RestartPage

# RestartPage Class

(QInstaller::RestartPage)

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

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

- List of all members, including inherited members

## Public Functions

| RestartPage(PackageManagerCore *core)

## Reimplemented Public Functions

virtual int | nextId() const

- 14 public functions inherited from QInstaller::PackageManagerPage

## Signals

void | restart()

- 2 signals inherited from QInstaller::PackageManagerPage

## Reimplemented Protected Functions

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

- 6 protected functions inherited from QInstaller::PackageManagerPage

## Detailed Description

The RestartPage class enables restarting the installer.

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

### RestartPage::RestartPage(PackageManagerCore *core)

Constructs a restart installation page with core as parent.

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

Reimplemented from PackageManagerPage::entering().

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

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

Reimplemented from PackageManagerPage::leaving().

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

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

Reimplemented from PackageManagerPage::nextId().

Returns the introduction page.

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

This signal is emitted when the installer is restarted.