diff options
Diffstat (limited to 'tdejava/koala/org/trinitydesktop/koala/TDEProcessSignals.java')
-rw-r--r-- | tdejava/koala/org/trinitydesktop/koala/TDEProcessSignals.java | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/tdejava/koala/org/trinitydesktop/koala/TDEProcessSignals.java b/tdejava/koala/org/trinitydesktop/koala/TDEProcessSignals.java new file mode 100644 index 00000000..a1c8deca --- /dev/null +++ b/tdejava/koala/org/trinitydesktop/koala/TDEProcessSignals.java @@ -0,0 +1,72 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.koala; + +import org.trinitydesktop.qt.TQMetaObject; +import org.trinitydesktop.qt.QtSupport; +import org.trinitydesktop.qt.TQObject; + +public interface TDEProcessSignals { + /** + Emitted after the process has terminated when + the process was run in the <code>NotifyOnExit</code> (==default option to + start() ) or the Block mode. + @param proc a pointer to the process that has exited + @short Emitted after the process has terminated when the process was run in the <code>NotifyOnExit</code> (==default option to start() ) or the Block mode. + */ + void processExited(TDEProcess proc); + /** + Emitted, when output from the child process has + been received on stdout. + To actually get this signal, the Stdout communication link + has to be turned on in start(). + @param proc a pointer to the process that has received the output + @param buffer The data received. + @param buflen The number of bytes that are available. + You should copy the information contained in <code>buffer</code> to your private + data structures before returning from the slot. + Example: + <pre> + String myBuf = String.fromLatin1(buffer, buflen); + </pre> + @short Emitted, when output from the child process has been received on stdout. + */ + void receivedStdout(TDEProcess proc, String buffer, int buflen); + /** + Emitted when output from the child process has + been received on stdout. + To actually get this signal, the Stdout communication link + has to be turned on in start() and the + NoRead flag must have been passed. + You will need to explicitly call resume() after your call to start() + to begin processing data from the child process' stdout. This is + to ensure that this signal is not emitted when no one is connected + to it, otherwise this signal will not be emitted. + The data still has to be read from file descriptor <code>fd.</code> + @param fd the file descriptor that provides the data + @param len the number of bytes that have been read from <code>fd</code> must + be written here + @short Emitted when output from the child process has been received on stdout. + */ + void receivedStdout(int fd, int[] len); + /** + Emitted, when output from the child process has + been received on stderr. + To actually get this signal, the Stderr communication link + has to be turned on in start(). + You should copy the information contained in <code>buffer</code> to your private + data structures before returning from the slot. + @param proc a pointer to the process that has received the data + @param buffer The data received. + @param buflen The number of bytes that are available. + @short Emitted, when output from the child process has been received on stderr. + */ + void receivedStderr(TDEProcess proc, String buffer, int buflen); + /** + Emitted after all the data that has been + specified by a prior call to writeStdin() has actually been + written to the child process. + @param proc a pointer to the process + @short Emitted after all the data that has been specified by a prior call to writeStdin() has actually been written to the child process. + */ + void wroteStdin(TDEProcess proc); +} |