Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

void QProcess::setProcessChannelMode ( ProcessChannelMode  mode  ) 

Since:
4.2
Sets the channel mode of the QProcess standard output and standard error channels to the mode specified. This mode will be used the next time start() is called. For example:

doc/src/snippets/code/src_corelib_io_qprocess.cpp 0

See also:
readChannelMode(), ProcessChannelMode, setReadChannel()

Definition at line 842 of file qprocess.cpp.

Referenced by setReadChannelMode().

{
    Q_D(QProcess);
    d->processChannelMode = mode;
}


Generated by  Doxygen 1.6.0   Back to index