diff options
Diffstat (limited to 'examples')
4 files changed, 8 insertions, 8 deletions
diff --git a/examples/componenterror/packages/root/meta/installscript.js b/examples/componenterror/packages/root/meta/installscript.js index 211b07ba4..552d7e257 100644 --- a/examples/componenterror/packages/root/meta/installscript.js +++ b/examples/componenterror/packages/root/meta/installscript.js @@ -49,7 +49,7 @@ function abortInstaller() // ignore the first empty one for (var i = 0; i < error_list.length; ++i) { if (error_list[i] !== "") { - print(error_list[i]); + console.log(error_list[i]); abortText += "<li>" + error_list[i] + "</li>" } } diff --git a/examples/openreadme/packages/or.qtproject.ifw.example.openreadme/meta/installscript.qs b/examples/openreadme/packages/or.qtproject.ifw.example.openreadme/meta/installscript.qs index 6f33f1e71..e815cd28a 100644 --- a/examples/openreadme/packages/or.qtproject.ifw.example.openreadme/meta/installscript.qs +++ b/examples/openreadme/packages/or.qtproject.ifw.example.openreadme/meta/installscript.qs @@ -50,7 +50,7 @@ Component.prototype.installationFinishedPageIsShown = function() installer.addWizardPageItem( component, "ReadMeCheckBoxForm", QInstaller.InstallationFinished ); } } catch(e) { - print(e); + console.log(e); } } @@ -64,7 +64,7 @@ Component.prototype.installationFinished = function() } } } catch(e) { - print(e); + console.log(e); } } diff --git a/examples/translations/packages/com.vendor.product/meta/installscript.qs b/examples/translations/packages/com.vendor.product/meta/installscript.qs index dcfb17515..7e3ae8c52 100644 --- a/examples/translations/packages/com.vendor.product/meta/installscript.qs +++ b/examples/translations/packages/com.vendor.product/meta/installscript.qs @@ -45,7 +45,7 @@ Component.prototype.createOperations = function() // call the base create operations function component.createOperations(); } catch (e) { - print(e); + console.log(e); } } 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."; } } |