//Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import org.kde.qt.TQObject; /** A class for internal use by KProcess only. -- Exactly one instance of this class is created by TDEApplication. This class takes care of the actual (UNX) signal handling. @author Christian Czezatke @short Used internally by KProcess. */ public class KProcessController extends TQObject { protected KProcessController(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); /** Wait for any process to exit and handle their exit without starting an event loop. This function may cause KProcess to emit any of its signals. @param timeout the timeout in seconds. -1 means no timeout. @return true if a process exited, false if no process exited within timeout seconds. @short Wait for any process to exit and handle their exit without starting an event loop. */ public native boolean waitForProcessExit(int timeout); /** Call this function to defer processing of the data that became available on notifierFd(). @short Call this function to defer processing of the data that became available on notifierFd(). */ public native void unscheduleCheck(); /** This function must be called at some point after calling unscheduleCheck(). @short This function @em must be called at some point after calling unscheduleCheck(). */ public native void rescheduleCheck(); public native int notifierFd(); /** @short */ public native void addKProcess(KProcess arg1); /** @short */ public native void removeKProcess(KProcess arg1); /** @short */ public native void addProcess(int pid); /** Create an instance if none exists yet. Called by TDEApplication.TDEApplication() @short Create an instance if none exists yet. */ public static native void ref(); /** Destroy the instance if one exists and it is not referenced any more. Called by TDEApplication.~TDEApplication() @short Destroy the instance if one exists and it is not referenced any more. */ public static native void deref(); /** Automatically called upon SIGCHLD. Never call it directly. If your application (or some library it uses) redirects SIGCHLD, the new signal handler (and only it) should call the old handler returned by sigaction(). @short Automatically called upon SIGCHLD. */ public static native void theSigCHLDHandler(int signal); }