summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KShellProcess.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KShellProcess.java')
-rw-r--r--kdejava/koala/org/kde/koala/KShellProcess.java45
1 files changed, 45 insertions, 0 deletions
diff --git a/kdejava/koala/org/kde/koala/KShellProcess.java b/kdejava/koala/org/kde/koala/KShellProcess.java
new file mode 100644
index 00000000..02408e86
--- /dev/null
+++ b/kdejava/koala/org/kde/koala/KShellProcess.java
@@ -0,0 +1,45 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.koala;
+
+import org.kde.qt.Qt;
+import org.kde.qt.QMetaObject;
+import org.kde.qt.QtSupport;
+
+/**
+
+ Use KProcess and KProcess.setUseShell(true) instead.
+ @author Christian Czezatke <e9025461@student.tuwien.ac.at>
+
+ @short A class derived from KProcess to start child processes through a shell.
+
+*/
+public class KShellProcess extends KProcess {
+ protected KShellProcess(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ /**
+ Constructor
+ If no shellname is specified, the user's default shell is used.
+ @short Constructor
+ */
+ public KShellProcess(String shellname) {
+ super((Class) null);
+ newKShellProcess(shellname);
+ }
+ private native void newKShellProcess(String shellname);
+ public KShellProcess() {
+ super((Class) null);
+ newKShellProcess();
+ }
+ private native void newKShellProcess();
+ public native boolean start(int runmode, int comm);
+ public native boolean start(int runmode);
+ public native boolean start();
+ public static native String quote(String arg);
+ /** 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();
+}