summaryrefslogtreecommitdiffstats
path: root/doc/scripting-api
diff options
context:
space:
mode:
Diffstat (limited to 'doc/scripting-api')
-rw-r--r--doc/scripting-api/packagemanagercore.qdoc29
1 files changed, 29 insertions, 0 deletions
diff --git a/doc/scripting-api/packagemanagercore.qdoc b/doc/scripting-api/packagemanagercore.qdoc
index e24ee9f16..ad6fb53cd 100644
--- a/doc/scripting-api/packagemanagercore.qdoc
+++ b/doc/scripting-api/packagemanagercore.qdoc
@@ -557,6 +557,35 @@
*/
/*!
+ \qmlmethod boolean installer::addWizardPageWarning(string message,
+ int page, string id, int position)
+
+ Adds a warning label into the installer's GUI wizard. The label is added on
+ \a page ordered by \a position number. If several widgets are added to the same
+ page, the widget with lower \a position number will be inserted on top. The label
+ is identified with \a id.
+
+ See \l{Controller Scripting} for the possible values of \a page.
+
+ If the installation is not a command line install, returns \c true and emits the
+ wizardPageWarningInsertionRequested() signal.
+
+ \sa removeWizardPageWarning(), wizardPageWarningInsertionRequested()
+*/
+
+/*!
+ \fn boolean removeWizardPageWarning(string id)
+
+ Removes the widget with the identification \a id, previously added to the
+ installer's wizard by addWarningMessage().
+
+ If the installation is not a command line install, returns \c true and
+ emits the wizardPageWarningRemovalRequested() signal.
+
+ \sa addWizardPageWarning()
+*/
+
+/*!
\qmlmethod void installer::addUserRepositories(stringlist repositories)
Registers additional \a repositories.