summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@theqtcompany.com>2015-03-06 12:42:04 +0100
committerLeena Miettinen <riitta-leena.miettinen@theqtcompany.com>2015-03-09 10:19:59 +0000
commitb13d307acd17e73bd299e7505c4bde9557a9d922 (patch)
treece04055f1209adc41c2b7c92a5fdd947ee964511
parentebb0925b81c5ba1eecf4c6d031ec7b187504f54d (diff)
Doc: add docs for print JavaScript object
Change-Id: I84d9987f3f6bfe6bf6788c89d4f5ab43c29655d5 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
-rw-r--r--doc/scripting-api/console.qdoc2
-rw-r--r--doc/scripting-api/print.qdoc3
2 files changed, 5 insertions, 0 deletions
diff --git a/doc/scripting-api/console.qdoc b/doc/scripting-api/console.qdoc
index c323093a5..6910f1e36 100644
--- a/doc/scripting-api/console.qdoc
+++ b/doc/scripting-api/console.qdoc
@@ -30,6 +30,8 @@
\inqmlmodule scripting
\brief Provides methods for logging and debugging.
+ \keyword console-object
+
You can use the \c console object to print log information about installer
functions to the console. The following example uses the \c console object
\l{console::log()}{log} method and \l installer object
diff --git a/doc/scripting-api/print.qdoc b/doc/scripting-api/print.qdoc
index edef60638..247601a2c 100644
--- a/doc/scripting-api/print.qdoc
+++ b/doc/scripting-api/print.qdoc
@@ -28,4 +28,7 @@
/*!
\qmltype print
\inqmlmodule scripting
+ \brief Provides compatibility with QtScript.
+
+ For new code, use the \l{console-object}{console} object instead.
*/