RestartPage Class

(QInstaller::RestartPage)

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

Header: #include <RestartPage>
Inherits: PackageManagerPage

Public Functions

RestartPage(PackageManagerCore *core)

Reimplemented Public Functions

virtual int nextId() const

Signals

void restart()

Reimplemented Protected Functions

virtual void entering()
virtual void leaving()

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.