summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2017-06-01 12:08:57 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2017-06-20 09:13:21 +0000
commitff0006928dc2344f83f8bf1020ef1d1bc9b3617a (patch)
tree3c77eb146a523cbd264baf3c06a9b9cb3e812eb9
parent29a459d7cc18198a774877f1f4dd700758b4fe4e (diff)
Doc: Document the setters QProcess::startDetached supports
Change-Id: I594af26e94582c1edfe7c3182477a2efc4eab2a0 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
-rw-r--r--src/corelib/io/qprocess.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/corelib/io/qprocess.cpp b/src/corelib/io/qprocess.cpp
index e3e26654b1..bb16b0c427 100644
--- a/src/corelib/io/qprocess.cpp
+++ b/src/corelib/io/qprocess.cpp
@@ -2127,6 +2127,20 @@ void QProcess::start(OpenMode mode)
If the function is successful then *\a pid is set to the process
identifier of the started process.
+ Only the following property setters are supported by startDetached():
+ \list
+ \li setArguments()
+ \li setCreateProcessArgumentsModifier()
+ \li setNativeArguments()
+ \li setProcessEnvironment()
+ \li setProgram()
+ \li setStandardErrorFile()
+ \li setStandardInputFile()
+ \li setStandardOutputFile()
+ \li setWorkingDirectory()
+ \endlist
+ All other properties of the QProcess object are ignored.
+
\sa start()
\sa startDetached(const QString &program, const QStringList &arguments,
const QString &workingDirectory, qint64 *pid)