|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QProcess.ProcessChannelMode>
com.trolltech.qt.core.QProcess.ProcessChannelMode
public static enum QProcess.ProcessChannelMode
This enum describes the process channel modes of QProcess. Pass one of these values to setProcessChannelMode to set the current read channel mode.
Enum Constant Summary | |
---|---|
ForwardedChannels
QProcess forwards the output of the running process onto the main process. |
|
MergedChannels
QProcess merges the output of the running process into the standard output channel (stdout). |
|
SeparateChannels
QProcess manages the output of the running process, keeping standard output and standard error data in separate internal buffers. |
Method Summary | |
---|---|
static QProcess.ProcessChannelMode |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QProcess.ProcessChannelMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QProcess.ProcessChannelMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final QProcess.ProcessChannelMode SeparateChannels
QProcess manages the output of the running process, keeping standard output and standard error data in separate internal buffers. You can select the QProcess's current read channel by calling setReadChannel. This is the default channel mode of QProcess.
public static final QProcess.ProcessChannelMode MergedChannels
QProcess merges the output of the running process into the standard output channel (stdout). The standard error channel (stderr) will not receive any data. The standard output and standard error data of the running process are interleaved.
public static final QProcess.ProcessChannelMode ForwardedChannels
QProcess forwards the output of the running process onto the main process. Anything the child process writes to its standard output and standard error will be written to the standard output and standard error of the main process.
Method Detail |
---|
public static QProcess.ProcessChannelMode[] values()
for (QProcess.ProcessChannelMode c : QProcess.ProcessChannelMode.values()) System.out.println(c);
public static QProcess.ProcessChannelMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic int value()
QtEnumerator
value
in interface QtEnumerator
public static QProcess.ProcessChannelMode resolve(int value)
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |