summaryrefslogtreecommitdiffstats
path: root/doc/noninteractive.qdoc
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@qt.io>2018-08-27 22:15:45 +0200
committerAndy Shaw <andy.shaw@qt.io>2019-06-17 12:58:02 +0000
commitb07d55203b8bdcff553139149698f2867286c572 (patch)
tree2190599ca7d02a5768ab2db3583eb52b7b465e60 /doc/noninteractive.qdoc
parent89f772f819178ee2502768c3d259d22ecb910fbe (diff)
Doc: Don't indicate that you can add pages in a control script
Change-Id: I6ddfc27334d8f14852cd926653b5ab56851c3fec Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to 'doc/noninteractive.qdoc')
-rw-r--r--doc/noninteractive.qdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/noninteractive.qdoc b/doc/noninteractive.qdoc
index 67ce18dc4..f532ece9b 100644
--- a/doc/noninteractive.qdoc
+++ b/doc/noninteractive.qdoc
@@ -483,13 +483,13 @@
Example code:
\code
- function Controller()
+ function Component()
{
// add page with widget \c SomePageWidget before the target directory page
installer.addWizardPage(component, "SomePageWidget", QInstaller.TargetDirectory)
}
- Controller.prototype.DynamicSomePageWidgetCallback = function()
+ Component.prototype.DynamicSomePageWidgetCallback = function()
{
var page = gui.pageWidgetByObjectName("DynamicSomePageWidget");
page.myButton.click, //direct child of the UI file's widget