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.
105 lines
3.6 KiB
105 lines
3.6 KiB
15 years ago
|
//Auto-generated by kalyptus. DO NOT EDIT.
|
||
11 years ago
|
package org.trinitydesktop.qt;
|
||
15 years ago
|
|
||
11 years ago
|
import org.trinitydesktop.qt.Qt;
|
||
15 years ago
|
import java.util.ArrayList;
|
||
|
|
||
|
/**
|
||
13 years ago
|
See {@link TQProcessSignals} for signals emitted by TQProcess
|
||
15 years ago
|
*/
|
||
13 years ago
|
public class TQProcess extends TQObject {
|
||
|
protected TQProcess(Class dummy){super((Class) null);}
|
||
15 years ago
|
public static final int Stdin = 0x01;
|
||
|
public static final int Stdout = 0x02;
|
||
|
public static final int Stderr = 0x04;
|
||
|
public static final int DupStderr = 0x08;
|
||
|
|
||
13 years ago
|
public native TQMetaObject metaObject();
|
||
15 years ago
|
public native String className();
|
||
13 years ago
|
public TQProcess(TQObject parent, String name) {
|
||
15 years ago
|
super((Class) null);
|
||
13 years ago
|
newTQProcess(parent,name);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQProcess(TQObject parent, String name);
|
||
|
public TQProcess(TQObject parent) {
|
||
15 years ago
|
super((Class) null);
|
||
13 years ago
|
newTQProcess(parent);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQProcess(TQObject parent);
|
||
|
public TQProcess() {
|
||
15 years ago
|
super((Class) null);
|
||
13 years ago
|
newTQProcess();
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQProcess();
|
||
|
public TQProcess(String arg0, TQObject parent, String name) {
|
||
15 years ago
|
super((Class) null);
|
||
13 years ago
|
newTQProcess(arg0,parent,name);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQProcess(String arg0, TQObject parent, String name);
|
||
|
public TQProcess(String arg0, TQObject parent) {
|
||
15 years ago
|
super((Class) null);
|
||
13 years ago
|
newTQProcess(arg0,parent);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQProcess(String arg0, TQObject parent);
|
||
|
public TQProcess(String arg0) {
|
||
15 years ago
|
super((Class) null);
|
||
13 years ago
|
newTQProcess(arg0);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQProcess(String arg0);
|
||
|
public TQProcess(String[] args, TQObject parent, String name) {
|
||
15 years ago
|
super((Class) null);
|
||
13 years ago
|
newTQProcess(args,parent,name);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQProcess(String[] args, TQObject parent, String name);
|
||
|
public TQProcess(String[] args, TQObject parent) {
|
||
15 years ago
|
super((Class) null);
|
||
13 years ago
|
newTQProcess(args,parent);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQProcess(String[] args, TQObject parent);
|
||
|
public TQProcess(String[] args) {
|
||
15 years ago
|
super((Class) null);
|
||
13 years ago
|
newTQProcess(args);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQProcess(String[] args);
|
||
15 years ago
|
public native ArrayList arguments();
|
||
|
public native void clearArguments();
|
||
|
public native void setArguments(String[] args);
|
||
|
public native void addArgument(String arg);
|
||
13 years ago
|
public native TQDir workingDirectory();
|
||
|
public native void setWorkingDirectory(TQDir dir);
|
||
15 years ago
|
public native void setCommunication(int c);
|
||
|
public native int communication();
|
||
|
public native boolean start(String[] arg1);
|
||
|
public native boolean start();
|
||
|
public native boolean launch(String buf, String[] arg2);
|
||
|
public native boolean launch(String buf);
|
||
|
public native boolean launch(byte[] buf, String[] arg2);
|
||
|
public native boolean launch(byte[] buf);
|
||
|
public native boolean isRunning();
|
||
|
public native boolean normalExit();
|
||
|
public native int exitStatus();
|
||
|
public native byte[] readStdout();
|
||
|
public native byte[] readStderr();
|
||
|
public native boolean canReadLineStdout();
|
||
|
public native boolean canReadLineStderr();
|
||
|
public native String readLineStdout();
|
||
|
public native String readLineStderr();
|
||
|
public native long processIdentifier();
|
||
|
public native void flushStdin();
|
||
|
public native void tryTerminate();
|
||
|
public native void kill();
|
||
|
public native void writeToStdin(byte[] buf);
|
||
|
public native void writeToStdin(String buf);
|
||
|
public native void closeStdin();
|
||
|
public static native String tr(String arg1, String arg2);
|
||
|
public static native String tr(String arg1);
|
||
|
protected native void connectNotify(String signal);
|
||
|
protected native void disconnectNotify(String signal);
|
||
|
/** Deletes the wrapped C++ instance */
|
||
|
protected native void finalize() throws InternalError;
|
||
|
/** Delete the wrapped C++ instance ahead of finalize() */
|
||
|
public native void dispose();
|
||
|
/** Has the wrapped C++ instance been deleted? */
|
||
|
public native boolean isDisposed();
|
||
|
}
|