org.kde.koala
public class KProcessController extends QObject
UNKNOWN: Used internally by KProcess.
| Constructor Summary | |
|---|---|
| protected | KProcessController(Class dummy) |
| Method Summary | |
|---|---|
| void | addKProcess(KProcess arg1) |
| void | addProcess(int pid) |
| String | className() |
| static void | deref()
Destroy the instance if one exists and it is not referenced any more.
|
| QMetaObject | metaObject() |
| int | notifierFd() |
| static void | ref()
Create an instance if none exists yet.
|
| void | removeKProcess(KProcess arg1) |
| void | rescheduleCheck()
This function must be called at some point after calling
unscheduleCheck(). |
| static void | theSigCHLDHandler(int signal)
Automatically called upon SIGCHLD. |
| void | unscheduleCheck()
Call this function to defer processing of the data that became available
on notifierFd(). |
| boolean | waitForProcessExit(int timeout)
Wait for any process to exit and handle their exit without
starting an event loop.
|
UNKNOWN:
UNKNOWN:
UNKNOWN: Destroy the instance if one exists and it is not referenced any more.
UNKNOWN: Create an instance if none exists yet.
UNKNOWN:
UNKNOWN: This function @em must be called at some point after calling unscheduleCheck().
UNKNOWN: Automatically called upon SIGCHLD.
UNKNOWN: Call this function to defer processing of the data that became available on notifierFd().
Parameters: timeout the timeout in seconds. -1 means no timeout.
Returns: true if a process exited, false
if no process exited within timeout seconds.
UNKNOWN: Wait for any process to exit and handle their exit without starting an event loop.