diff options
Diffstat (limited to 'examples/tutorial/packages')
-rw-r--r-- | examples/tutorial/packages/com.vendor.product/meta/installscript.qs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/tutorial/packages/com.vendor.product/meta/installscript.qs b/examples/tutorial/packages/com.vendor.product/meta/installscript.qs index d9054833e..670f19f17 100644 --- a/examples/tutorial/packages/com.vendor.product/meta/installscript.qs +++ b/examples/tutorial/packages/com.vendor.product/meta/installscript.qs @@ -37,7 +37,7 @@ function Component() // constructor component.loaded.connect(this, Component.prototype.loaded); if (!installer.addWizardPage(component, "Page", QInstaller.TargetDirectory)) - print("Could not add the dynamic page."); + console.log("Could not add the dynamic page."); } Component.prototype.isDefault = function() @@ -52,7 +52,7 @@ Component.prototype.createOperations = function() // call the base create operations function component.createOperations(); } catch (e) { - print(e); + console.log(e); } } @@ -60,7 +60,7 @@ Component.prototype.loaded = function () { var page = gui.pageByObjectName("DynamicPage"); if (page != null) { - print("Connecting the dynamic page entered signal."); + console.log("Connecting the dynamic page entered signal."); page.entered.connect(Component.prototype.dynamicPageEntered); } } @@ -69,7 +69,7 @@ Component.prototype.dynamicPageEntered = function () { var pageWidget = gui.pageWidgetByObjectName("DynamicPage"); if (pageWidget != null) { - print("Setting the widgets label text.") + console.log("Setting the widgets label text.") pageWidget.m_pageLabel.text = "This is a dynamically created page."; } } |