summaryrefslogtreecommitdiffstats
path: root/doc/scripting.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/scripting.qdoc')
-rw-r--r--doc/scripting.qdoc4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/scripting.qdoc b/doc/scripting.qdoc
index 9199d40e0..f4fc344e5 100644
--- a/doc/scripting.qdoc
+++ b/doc/scripting.qdoc
@@ -121,6 +121,10 @@
component::addOperation(). If you need to run an operation that requires
administrative rights, use component::addElevatedOperation() instead.
+ Operations need to be added before the actual installation step. Override
+ \l component::createOperations() to register custom operations for a
+ component.
+
Each operation has a unique key used for identification and can take up to
five parameters. In the parameter values, you can use variables as set in
installer::setValue(). For more information, see \l{Predefined Variables}.