summaryrefslogtreecommitdiffstats
path: root/doc/noninteractive.qdoc
diff options
context:
space:
mode:
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