14 #ifndef BLOCKINGKPROCESS_H 15 #define BLOCKINGKPROCESS_H 31 class BlockingTDEProcess :
public TDEProcess
37 BlockingTDEProcess(TQObject *parent,
const char *name=0);
40 virtual ~BlockingTDEProcess();
50 virtual bool start(RunMode runmode=NotifyOnExit, Communication comm=NoCommunication);
56 TQString stdOut() {
return m_stdOut;}
60 void clearStdOut() { m_stdOut =
"";}
65 TQString stdErr() {
return m_stdErr;}
69 void clearStdErr() { m_stdErr =
"";}
75 void setTimeOut(
int timeout) { m_timeoutValue = timeout; }
78 void slotReceivedStdOut(TDEProcess *proc,
char *buffer,
int buflen);
79 void slotReceivedStdErr(TDEProcess *proc,
char *buffer,
int buflen);
80 void slotProcessExited(TDEProcess *proc);