You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebindings/kdejava/koala/org/kde/koala/KProcessSignals.java

73 lines
3.1 KiB

//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;
import org.kde.qt.QMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.QObject;
public interface KProcessSignals {
/**
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(KProcess 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(KProcess 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(KProcess 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(KProcess proc);
}