QInstaller::RestartPage Class

class QInstaller::RestartPage

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

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

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.

© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. The Qt Company, Qt and their respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.