From b13d307acd17e73bd299e7505c4bde9557a9d922 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Fri, 6 Mar 2015 12:42:04 +0100 Subject: Doc: add docs for print JavaScript object Change-Id: I84d9987f3f6bfe6bf6788c89d4f5ab43c29655d5 Reviewed-by: Niels Weber Reviewed-by: Karsten Heimrich --- doc/scripting-api/console.qdoc | 2 ++ doc/scripting-api/print.qdoc | 3 +++ 2 files changed, 5 insertions(+) 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. */ -- cgit v1.2.3