diff options
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QProcess.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QProcess.java | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/QProcess.java b/qtjava/javalib/org/kde/qt/QProcess.java new file mode 100644 index 00000000..c116696b --- /dev/null +++ b/qtjava/javalib/org/kde/qt/QProcess.java @@ -0,0 +1,104 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +/** + See {@link QProcessSignals} for signals emitted by QProcess +*/ +public class QProcess extends QObject { + protected QProcess(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 QMetaObject metaObject(); + public native String className(); + public QProcess(QObject parent, String name) { + super((Class) null); + newQProcess(parent,name); + } + private native void newQProcess(QObject parent, String name); + public QProcess(QObject parent) { + super((Class) null); + newQProcess(parent); + } + private native void newQProcess(QObject parent); + public QProcess() { + super((Class) null); + newQProcess(); + } + private native void newQProcess(); + public QProcess(String arg0, QObject parent, String name) { + super((Class) null); + newQProcess(arg0,parent,name); + } + private native void newQProcess(String arg0, QObject parent, String name); + public QProcess(String arg0, QObject parent) { + super((Class) null); + newQProcess(arg0,parent); + } + private native void newQProcess(String arg0, QObject parent); + public QProcess(String arg0) { + super((Class) null); + newQProcess(arg0); + } + private native void newQProcess(String arg0); + public QProcess(String[] args, QObject parent, String name) { + super((Class) null); + newQProcess(args,parent,name); + } + private native void newQProcess(String[] args, QObject parent, String name); + public QProcess(String[] args, QObject parent) { + super((Class) null); + newQProcess(args,parent); + } + private native void newQProcess(String[] args, QObject parent); + public QProcess(String[] args) { + super((Class) null); + newQProcess(args); + } + private native void newQProcess(String[] args); + public native ArrayList arguments(); + public native void clearArguments(); + public native void setArguments(String[] args); + public native void addArgument(String arg); + public native QDir workingDirectory(); + public native void setWorkingDirectory(QDir 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(); +} |