diff options
Diffstat (limited to 'doc/html/tqprocess.html')
-rw-r--r-- | doc/html/tqprocess.html | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/html/tqprocess.html b/doc/html/tqprocess.html index dc8902bd8..145ffa7e4 100644 --- a/doc/html/tqprocess.html +++ b/doc/html/tqprocess.html @@ -293,14 +293,14 @@ over a copy, e.g. <h3 class=fn>bool <a name="canReadLineStderr"></a>TQProcess::canReadLineStderr () const </h3> -Returns TRUE if it's possible to read an entire line of text from -standard error at this time; otherwise returns FALSE. +Returns true if it's possible to read an entire line of text from +standard error at this time; otherwise returns false. <p> <p>See also <a href="#readLineStderr">readLineStderr</a>() and <a href="#canReadLineStdout">canReadLineStdout</a>(). <h3 class=fn>bool <a name="canReadLineStdout"></a>TQProcess::canReadLineStdout () const </h3> -Returns TRUE if it's possible to read an entire line of text from -standard output at this time; otherwise returns FALSE. +Returns true if it's possible to read an entire line of text from +standard output at this time; otherwise returns false. <p> <p>See also <a href="#readLineStdout">readLineStdout</a>() and <a href="#canReadLineStderr">canReadLineStderr</a>(). <h3 class=fn>void <a name="clearArguments"></a>TQProcess::clearArguments () @@ -326,14 +326,14 @@ combination of the <a href="#Communication-enum">Communication</a> flags. Returns the exit status of the process or 0 if the process is still running. This function returns immediately and does not wait until the process is finished. -<p> If <a href="#normalExit">normalExit</a>() is FALSE (e.g. if the program was killed or +<p> If <a href="#normalExit">normalExit</a>() is false (e.g. if the program was killed or crashed), this function returns 0, so you should check the return value of normalExit() before relying on this value. <p> <p>See also <a href="#normalExit">normalExit</a>() and <a href="#processExited">processExited</a>(). <h3 class=fn>bool <a name="isRunning"></a>TQProcess::isRunning () const </h3> -Returns TRUE if the process is running; otherwise returns FALSE. +Returns true if the process is running; otherwise returns false. <p> <p>See also <a href="#normalExit">normalExit</a>(), <a href="#exitStatus">exitStatus</a>(), and <a href="#processExited">processExited</a>(). <h3 class=fn>void <a name="kill"></a>TQProcess::kill () const<tt> [slot]</tt> @@ -374,8 +374,8 @@ with these environment settings. For convenience, there is a small exception to this rule under Unix: if <em>env</em> does not contain any settings for the environment variable <tt>LD_LIBRARY_PATH</tt>, then this variable is inherited from the starting process. -<p> Returns TRUE if the process could be started; otherwise returns -FALSE. +<p> Returns true if the process could be started; otherwise returns +false. <p> Note that you should not use the slots <a href="#writeToStdin">writeToStdin</a>() and <a href="#closeStdin">closeStdin</a>() on processes started with <a href="#launch">launch</a>(), since the result is not well-defined. If you need these slots, use <a href="#start">start</a>() instead. @@ -415,8 +415,8 @@ reading from standard output or standard error. <h3 class=fn>bool <a name="normalExit"></a>TQProcess::normalExit () const </h3> -Returns TRUE if the process has exited normally; otherwise returns -FALSE. This implies that this function returns FALSE if the +Returns true if the process has exited normally; otherwise returns +false. This implies that this function returns false if the process is still running. <p> <p>See also <a href="#isRunning">isRunning</a>(), <a href="#exitStatus">exitStatus</a>(), and <a href="#processExited">processExited</a>(). @@ -441,7 +441,7 @@ struct, or 0 if no process is belongs to this object. </h3> Reads a line of text from standard error, excluding any trailing newline or carriage return characters and returns it. Returns -<a href="tqstring.html#TQString-null">TQString::null</a> if <a href="#canReadLineStderr">canReadLineStderr</a>() returns FALSE. +<a href="tqstring.html#TQString-null">TQString::null</a> if <a href="#canReadLineStderr">canReadLineStderr</a>() returns false. <p> By default, the text is interpreted to be in Latin-1 encoding. If you need other codecs, you can set a different codec with <a href="tqtextcodec.html#setCodecForCStrings">TQTextCodec::setCodecForCStrings</a>(). @@ -451,7 +451,7 @@ other codecs, you can set a different codec with </h3> Reads a line of text from standard output, excluding any trailing newline or carriage return characters, and returns it. Returns -<a href="tqstring.html#TQString-null">TQString::null</a> if <a href="#canReadLineStdout">canReadLineStdout</a>() returns FALSE. +<a href="tqstring.html#TQString-null">TQString::null</a> if <a href="#canReadLineStdout">canReadLineStdout</a>() returns false. <p> By default, the text is interpreted to be in Latin-1 encoding. If you need other codecs, you can set a different codec with <a href="tqtextcodec.html#setCodecForCStrings">TQTextCodec::setCodecForCStrings</a>(). @@ -553,8 +553,8 @@ exception to this rule: under Unix, if <em>env</em> does not contain any settings for the environment variable <tt>LD_LIBRARY_PATH</tt>, then this variable is inherited from the starting process; under Windows the same applies for the environment variable <tt>PATH</tt>. -<p> Returns TRUE if the process could be started; otherwise returns -FALSE. +<p> Returns true if the process could be started; otherwise returns +false. <p> You can write data to the process's standard input with <a href="#writeToStdin">writeToStdin</a>(). You can close standard input with <a href="#closeStdin">closeStdin</a>() and you can terminate the process with <a href="#tryTerminate">tryTerminate</a>(), or with <a href="#kill">kill</a>(). |