aboutsummaryrefslogtreecommitdiffstats
path: root/doc/reference/jsextensions
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-02-06 14:59:51 +0100
committerJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-02-06 15:01:52 +0100
commit291998afd51ea529d52ca94f4fa79746205dbada (patch)
tree61fdec24be77d279f7aba3fd2b9d8ee6a629cce5 /doc/reference/jsextensions
parent5b76f22a8af2a7ab87c88d2d1a5197af58db4eef (diff)
parentaec6c77bb8ce33b6535106c78eeb9cd755398953 (diff)
Merge remote-tracking branch 'origin/1.3'
Conflicts: doc/doc.pri tests/auto/blackbox/tst_blackbox.cpp tests/auto/blackbox/tst_blackbox.h Change-Id: Ic69a6e87ff6f1cf74cb43ec76ac1a6e4a1c02c8d
Diffstat (limited to 'doc/reference/jsextensions')
-rw-r--r--doc/reference/jsextensions/jsextension-process.qdoc8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/reference/jsextensions/jsextension-process.qdoc b/doc/reference/jsextensions/jsextension-process.qdoc
index dc700bd99..3df109333 100644
--- a/doc/reference/jsextensions/jsextension-process.qdoc
+++ b/doc/reference/jsextensions/jsextension-process.qdoc
@@ -102,6 +102,14 @@
\endcode
Reads and returns all data from the process' standard output channel.
+ \section2 setCodec
+ \code
+ setCodec(codec)
+ \endcode
+ Sets the text codec to \c codec. The codec is used for reading and writing from and to
+ the process, respectively. The supported codecs are the same as for \c QTextCodec, for example:
+ "UTF-8", "UTF-16", and "ISO 8859-1".
+
\section2 setEnv
\code
setEnv(varName: string, varValue: string): string