diff options
Diffstat (limited to 'doc/man/man3/tqprocess.3qt')
-rw-r--r-- | doc/man/man3/tqprocess.3qt | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/doc/man/man3/tqprocess.3qt b/doc/man/man3/tqprocess.3qt index fbb86b223..11572e376 100644 --- a/doc/man/man3/tqprocess.3qt +++ b/doc/man/man3/tqprocess.3qt @@ -11,18 +11,18 @@ QProcess \- Used to start external programs and to communicate with them .SH SYNOPSIS \fC#include <ntqprocess.h>\fR .PP -Inherits QObject. +Inherits TQObject. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQProcess\fR ( QObject * parent = 0, const char * name = 0 )" +.BI "\fBQProcess\fR ( TQObject * parent = 0, const char * name = 0 )" .br .ti -1c -.BI "\fBQProcess\fR ( const QString & arg0, QObject * parent = 0, const char * name = 0 )" +.BI "\fBQProcess\fR ( const TQString & arg0, TQObject * parent = 0, const char * name = 0 )" .br .ti -1c -.BI "\fBQProcess\fR ( const QStringList & args, QObject * parent = 0, const char * name = 0 )" +.BI "\fBQProcess\fR ( const QStringList & args, TQObject * parent = 0, const char * name = 0 )" .br .ti -1c .BI "\fB~QProcess\fR ()" @@ -37,7 +37,7 @@ Inherits QObject. .BI "virtual void \fBsetArguments\fR ( const QStringList & args )" .br .ti -1c -.BI "virtual void \fBaddArgument\fR ( const QString & arg )" +.BI "virtual void \fBaddArgument\fR ( const TQString & arg )" .br .ti -1c .BI "QDir \fBworkingDirectory\fR () const" @@ -58,7 +58,7 @@ Inherits QObject. .BI "virtual bool \fBstart\fR ( QStringList * env = 0 )" .br .ti -1c -.BI "virtual bool \fBlaunch\fR ( const QString & buf, QStringList * env = 0 )" +.BI "virtual bool \fBlaunch\fR ( const TQString & buf, QStringList * env = 0 )" .br .ti -1c .BI "virtual bool \fBlaunch\fR ( const QByteArray & buf, QStringList * env = 0 )" @@ -85,10 +85,10 @@ Inherits QObject. .BI "bool \fBcanReadLineStderr\fR () const" .br .ti -1c -.BI "virtual QString \fBreadLineStdout\fR ()" +.BI "virtual TQString \fBreadLineStdout\fR ()" .br .ti -1c -.BI "virtual QString \fBreadLineStderr\fR ()" +.BI "virtual TQString \fBreadLineStderr\fR ()" .br .ti -1c .BI "PID \fBprocessIdentifier\fR ()" @@ -106,7 +106,7 @@ Inherits QObject. .BI "virtual void \fBwriteToStdin\fR ( const QByteArray & buf )" .br .ti -1c -.BI "virtual void \fBwriteToStdin\fR ( const QString & buf )" +.BI "virtual void \fBwriteToStdin\fR ( const TQString & buf )" .br .ti -1c .BI "virtual void \fBcloseStdin\fR ()" @@ -244,18 +244,18 @@ This enum type defines the communication channels connected to the process. .PP See also setCommunication() and communication(). .SH MEMBER FUNCTION DOCUMENTATION -.SH "QProcess::QProcess ( QObject * parent = 0, const char * name = 0 )" -Constructs a QProcess object. The \fIparent\fR and \fIname\fR parameters are passed to the QObject constructor. +.SH "QProcess::QProcess ( TQObject * parent = 0, const char * name = 0 )" +Constructs a QProcess object. The \fIparent\fR and \fIname\fR parameters are passed to the TQObject constructor. .PP See also setArguments(), addArgument(), and start(). -.SH "QProcess::QProcess ( const QString & arg0, QObject * parent = 0, const char * name = 0 )" -Constructs a QProcess with \fIarg0\fR as the command to be executed. The \fIparent\fR and \fIname\fR parameters are passed to the QObject constructor. +.SH "QProcess::QProcess ( const TQString & arg0, TQObject * parent = 0, const char * name = 0 )" +Constructs a QProcess with \fIarg0\fR as the command to be executed. The \fIparent\fR and \fIname\fR parameters are passed to the TQObject constructor. .PP The process is not started. You must call start() or launch() to start the process. .PP See also setArguments(), addArgument(), and start(). -.SH "QProcess::QProcess ( const QStringList & args, QObject * parent = 0, const char * name = 0 )" -Constructs a QProcess with \fIargs\fR as the arguments of the process. The first element in the list is the command to be executed. The other elements in the list are the arguments to this command. The \fIparent\fR and \fIname\fR parameters are passed to the QObject constructor. +.SH "QProcess::QProcess ( const QStringList & args, TQObject * parent = 0, const char * name = 0 )" +Constructs a QProcess with \fIargs\fR as the arguments of the process. The first element in the list is the command to be executed. The other elements in the list are the arguments to this command. The \fIparent\fR and \fIname\fR parameters are passed to the TQObject constructor. .PP The process is not started. You must call start() or launch() to start the process. .PP @@ -268,7 +268,7 @@ If the process is running, it is \fBnot\fR terminated! The standard input, stand You can connect the destroyed() signal to the kill() slot, if you want the process to be terminated automatically when the instance is destroyed. .PP See also tryTerminate() and kill(). -.SH "void QProcess::addArgument ( const QString & arg )\fC [virtual]\fR" +.SH "void QProcess::addArgument ( const TQString & arg )\fC [virtual]\fR" Adds \fIarg\fR to the end of the list of arguments. .PP The first element in the list of arguments is the command to be executed; the following elements are the command's arguments. @@ -364,16 +364,16 @@ You can call this function even when a process that was started with this instan The object emits the signal launchFinished() when this function call is finished. If the start was successful, this signal is emitted after all the data has been written to standard input. If the start failed, then this signal is emitted immediately. .PP See also start() and launchFinished(). -.SH "bool QProcess::launch ( const QString & buf, QStringList * env = 0 )\fC [virtual]\fR" +.SH "bool QProcess::launch ( const TQString & buf, QStringList * env = 0 )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -The data \fIbuf\fR is written to standard input with writeToStdin() using the QString::local8Bit() representation of the strings. +The data \fIbuf\fR is written to standard input with writeToStdin() using the TQString::local8Bit() representation of the strings. .SH "void QProcess::launchFinished ()\fC [signal]\fR" This signal is emitted when the process was started with launch(). If the start was successful, this signal is emitted after all the data has been written to standard input. If the start failed, then this signal is emitted immediately. .PP This signal is especially useful if you want to know when you can safely delete the QProcess object when you are not interested in reading from standard output or standard error. .PP -See also launch() and QObject::deleteLater(). +See also launch() and TQObject::deleteLater(). .SH "bool QProcess::normalExit () const" Returns TRUE if the process has exited normally; otherwise returns FALSE. This implies that this function returns FALSE if the process is still running. .PP @@ -392,14 +392,14 @@ Under Unix the return value is the PID of the process, or -1 if no process belon Under Windows it is a pointer to the \fCPROCESS_INFORMATION\fR struct, or 0 if no process is belongs to this object. .PP Use of this function's return value is likely to be non-portable. -.SH "QString QProcess::readLineStderr ()\fC [virtual]\fR" -Reads a line of text from standard error, excluding any trailing newline or carriage return characters and returns it. Returns QString::null if canReadLineStderr() returns FALSE. +.SH "TQString QProcess::readLineStderr ()\fC [virtual]\fR" +Reads a line of text from standard error, excluding any trailing newline or carriage return characters and returns it. Returns TQString::null if canReadLineStderr() returns FALSE. .PP By default, the text is interpreted to be in Latin-1 encoding. If you need other codecs, you can set a different codec with QTextCodec::setCodecForCStrings(). .PP See also canReadLineStderr(), readyReadStderr(), readStderr(), and readLineStdout(). -.SH "QString QProcess::readLineStdout ()\fC [virtual]\fR" -Reads a line of text from standard output, excluding any trailing newline or carriage return characters, and returns it. Returns QString::null if canReadLineStdout() returns FALSE. +.SH "TQString QProcess::readLineStdout ()\fC [virtual]\fR" +Reads a line of text from standard output, excluding any trailing newline or carriage return characters, and returns it. Returns TQString::null if canReadLineStdout() returns FALSE. .PP By default, the text is interpreted to be in Latin-1 encoding. If you need other codecs, you can set a different codec with QTextCodec::setCodecForCStrings(). .PP @@ -486,10 +486,10 @@ This function always returns immediately. The data you pass to writeToStdin() is Note that some operating systems use a buffer to transfer the data. As a result, wroteToStdin() may be emitted before the running process has actually read all the data. .PP See also wroteToStdin(), closeStdin(), readStdout(), and readStderr(). -.SH "void QProcess::writeToStdin ( const QString & buf )\fC [virtual slot]\fR" +.SH "void QProcess::writeToStdin ( const TQString & buf )\fC [virtual slot]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -The string \fIbuf\fR is handled as text using the QString::local8Bit() representation. +The string \fIbuf\fR is handled as text using the TQString::local8Bit() representation. .SH "void QProcess::wroteToStdin ()\fC [signal]\fR" This signal is emitted if the data sent to standard input (via writeToStdin()) was actually written to the process. This does not imply that the process really read the data, since this class only detects when it was able to write the data to the operating system. But it is now safe to close standard input without losing pending data. .PP |