summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQProcess.java
blob: 7500461a1a20fe90a60bfcef9bc1570d3d9178e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
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();
}