summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/TDEProcessController.java
blob: d6e02651956115af18242920d1804dd6f93b800e (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
//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 TDEProcess only. -- Exactly one instance
  of this class is created by TDEApplication.
 This class takes care of the actual (UNX) signal handling.
 		@author Christian Czezatke <e9025461@student.tuwien.ac.at>

		@short Used internally by TDEProcess.

*/
public class TDEProcessController extends TQObject  {
	protected TDEProcessController(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 TDEProcess 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 <code>timeout</code> 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 <b>must</b> 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 addTDEProcess(TDEProcess arg1);
	/**	
			   		@short
	*/
	public native void removeTDEProcess(TDEProcess 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);
}