summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQProcess.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/org/trinitydesktop/qt/TQProcess.java')
-rw-r--r--qtjava/javalib/org/trinitydesktop/qt/TQProcess.java104
1 files changed, 104 insertions, 0 deletions
diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQProcess.java b/qtjava/javalib/org/trinitydesktop/qt/TQProcess.java
new file mode 100644
index 00000000..7500461a
--- /dev/null
+++ b/qtjava/javalib/org/trinitydesktop/qt/TQProcess.java
@@ -0,0 +1,104 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.trinitydesktop.qt;
+
+import org.trinitydesktop.qt.Qt;
+import java.util.ArrayList;
+
+/**
+ See {@link TQProcessSignals} for signals emitted by TQProcess
+*/
+public class TQProcess extends TQObject {
+ protected TQProcess(Class dummy){super((Class) null);}
+ public static final int Stdin = 0x01;
+ public static final int Stdout = 0x02;
+ public static final int Stderr = 0x04;
+ public static final int DupStderr = 0x08;
+
+ public native TQMetaObject metaObject();
+ public native String className();
+ public TQProcess(TQObject parent, String name) {
+ super((Class) null);
+ newTQProcess(parent,name);
+ }
+ private native void newTQProcess(TQObject parent, String name);
+ public TQProcess(TQObject parent) {
+ super((Class) null);
+ newTQProcess(parent);
+ }
+ private native void newTQProcess(TQObject parent);
+ public TQProcess() {
+ super((Class) null);
+ newTQProcess();
+ }
+ private native void newTQProcess();
+ public TQProcess(String arg0, TQObject parent, String name) {
+ super((Class) null);
+ newTQProcess(arg0,parent,name);
+ }
+ private native void newTQProcess(String arg0, TQObject parent, String name);
+ public TQProcess(String arg0, TQObject parent) {
+ super((Class) null);
+ newTQProcess(arg0,parent);
+ }
+ private native void newTQProcess(String arg0, TQObject parent);
+ public TQProcess(String arg0) {
+ super((Class) null);
+ newTQProcess(arg0);
+ }
+ private native void newTQProcess(String arg0);
+ public TQProcess(String[] args, TQObject parent, String name) {
+ super((Class) null);
+ newTQProcess(args,parent,name);
+ }
+ private native void newTQProcess(String[] args, TQObject parent, String name);
+ public TQProcess(String[] args, TQObject parent) {
+ super((Class) null);
+ newTQProcess(args,parent);
+ }
+ private native void newTQProcess(String[] args, TQObject parent);
+ public TQProcess(String[] args) {
+ super((Class) null);
+ newTQProcess(args);
+ }
+ private native void newTQProcess(String[] args);
+ public native ArrayList arguments();
+ public native void clearArguments();
+ public native void setArguments(String[] args);
+ public native void addArgument(String arg);
+ public native TQDir workingDirectory();
+ public native void setWorkingDirectory(TQDir dir);
+ 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();
+}