summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/scriptengine.cpp
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@theqtcompany.com>2015-01-23 10:12:17 +0100
committerLeena Miettinen <riitta-leena.miettinen@theqtcompany.com>2015-01-23 17:02:26 +0100
commitc782de0fc5845e3f46bf011e9c4c08436edb64c9 (patch)
tree3a1cd6310f1618e0425cb99583bf6c0e42f18f48 /src/libs/installer/scriptengine.cpp
parentbe29f64b57b8b6dc8ff59ec213b51319cc658555 (diff)
Doc: Add docs for QInstaller JavaScript object
Change-Id: Ied88c365fdbd1cb7fe07d4ed196e7b568f6e892c Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Diffstat (limited to 'src/libs/installer/scriptengine.cpp')
-rw-r--r--src/libs/installer/scriptengine.cpp57
1 files changed, 38 insertions, 19 deletions
diff --git a/src/libs/installer/scriptengine.cpp b/src/libs/installer/scriptengine.cpp
index 73cfa4d6e..0d41e812d 100644
--- a/src/libs/installer/scriptengine.cpp
+++ b/src/libs/installer/scriptengine.cpp
@@ -212,6 +212,13 @@ namespace QInstaller {
\inqmlmodule scripting
\brief Provides access to the installer status and pages from Qt Script.
+
+ For more information about using the \c QInstaller object in control
+ scripts, see \l{Controller Scripting}.
+
+ For examples of using the pages to support end user workflows, see
+ \l{End User Workflows}.
+
*/
/*!
@@ -219,17 +226,25 @@ namespace QInstaller {
The installer has various pre-defined pages that can be used to for example insert pages
in a certain place:
- \list
- \li QInstaller.Introduction
- \li QInstaller.TargetDirectory
- \li QInstaller.ComponentSelection
- \li QInstaller.LicenseCheck
- \li QInstaller.StartMenuSelection
- \li QInstaller.ReadyForInstallation
- \li QInstaller.PerformInstallation
- \li QInstaller.InstallationFinished
- \li QInstaller.End
- \endlist
+
+ \value QInstaller.Introduction
+ \l{Introduction Page}
+ \value QInstaller.TargetDirectory
+ \l{Target Directory Page}
+ \value QInstaller.ComponentSelection
+ \l{Component Selection Page}
+ \value QInstaller.LicenseCheck
+ \l{License Agreement Page}
+ \value QInstaller.StartMenuSelection
+ \l{Start Menu Directory Page}
+ \value QInstaller.ReadyForInstallation
+ \l{Ready for Installation Page}
+ \value QInstaller.PerformInstallation
+ \l{Perform Installation Page}
+ \value QInstaller.InstallationFinished
+ \l{Finished Page}
+
+ \omitvalue QInstaller.End
*/
@@ -239,14 +254,18 @@ namespace QInstaller {
Status of the installer.
Possible values are:
- \list
- \li QInstaller.Success (deprecated: QInstaller.InstallerSucceeded)
- \li QInstaller.Failure (deprecated: QInstaller.InstallerFailed)
- \li QInstaller.Running (deprecated: QInstaller.InstallerFailed)
- \li QInstaller.Canceled (deprecated: QInstaller.CanceledByUser)
- \li QInstaller.Unfinished (deprecated: QInstaller.InstallerUnfinished)
- \li QInstaller.ForceUpdate
- \endlist
+
+ \value QInstaller.Success
+ Installation was successful.
+ \value QInstaller.Failure
+ Installation failed.
+ \value QInstaller.Running
+ Installation is in progress.
+ \value QInstaller.Canceled
+ Installation was canceled.
+ \value QInstaller.Unfinished
+ Installation was not completed.
+ \value QInstaller.ForceUpdate
*/
/*!