aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@theqtcompany.com>2015-02-02 17:53:53 +0100
committerChristian Kandeler <christian.kandeler@theqtcompany.com>2015-02-02 17:03:15 +0000
commit4bc2fbfcd7b71b42a3016123f8b9cf4ec4108225 (patch)
treead99f40d322797fb912970d4abd94f8fc9ab0951 /doc
parentc923dfed2ab6beb9e06fcec8036cffd55e607566 (diff)
Add documentation for Process::setCodec().
Change-Id: I9898bc60abda04cdec42d91d0c5f3c9cdd934600 Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Diffstat (limited to 'doc')
-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 9095b7efd..0d5b1cecb 100644
--- a/doc/reference/jsextensions/jsextension-process.qdoc
+++ b/doc/reference/jsextensions/jsextension-process.qdoc
@@ -110,6 +110,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, varValue)