KProcessController Class Reference
Used internally by KProcess. More...
#include <kprocctrl.h>
Inheritance diagram for KProcessController:

Public Methods | |
bool | waitForProcessExit (int timeout) |
Wait for any process to exit and handle their exit without starting an event loop. | |
Static Public Methods | |
void | theSigCHLDHandler (int signal) |
Automatically called upon SIGCHLD. | |
Static Public Attributes | |
KProcessController * | theKProcessController = 0 |
Only a single instance of this class is allowed at a time, and this static variable is used to track the one instance. |
Detailed Description
Used internally by KProcess.
Definition at line 50 of file kprocctrl.h.
Member Function Documentation
|
Automatically called upon SIGCHLD. Normally you do not need to do anything with this function but if your application needs to disable SIGCHLD for some time for reasons beyond your control, you should call this function afterwards to make sure that no SIGCHLDs where missed. Definition at line 146 of file kprocctrl.cpp. References QValueList< KProcess * >::begin(), QValueList< KProcess * >::end(), fd, processList, and theKProcessController. |
|
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.
Definition at line 276 of file kprocctrl.cpp. References QTimer::isActive(), and QTimer::stop(). |
Member Data Documentation
|
Only a single instance of this class is allowed at a time, and this static variable is used to track the one instance.
Definition at line 46 of file kprocctrl.cpp. Referenced by KProcess::detach(), KProcess::KProcess(), KProcess::start(), theSigCHLDHandler(), and KProcess::~KProcess(). |
The documentation for this class was generated from the following files: