20 #ifndef _EXECCOMMAND_H_ 21 #define _EXECCOMMAND_H_ 24 #include <tqstringlist.h> 27 class KProgressDialog;
50 ExecCommand(
const TQString& executable,
const TQStringList& args,
51 const TQString& workingDir = TQString(),
52 const TQStringList& env = TQStringList(), TQObject* parent = 0,
const char* name = 0 );
56 void finished(
const TQString& output,
const TQString& errorOutput );
59 void receivedStdout (TDEProcess *,
char *buffer,
int buflen);
60 void receivedStderr (TDEProcess *,
char *buffer,
int buflen);
66 KProgressDialog* progressDlg;
This class invokes a binary with the arguments passed in the constructor and emits the signal finishe...