|
|
|
@ -26,6 +26,7 @@ ProcessController::ProcessController(ProcessListViewItem * parent)
|
|
|
|
|
: TQObject((TQObject *)parent), myParent(parent), myStatus(false), myAutomatic(false), myProcess(new TQProcess(this))
|
|
|
|
|
{
|
|
|
|
|
connect (myProcess, TQT_SIGNAL( readyReadStdout() ), (ProcessController *) this, TQT_SLOT( readStdout()) );
|
|
|
|
|
connect (myProcess, TQT_SIGNAL(processExited() ), (ProcessController *) this, TQT_SLOT( processExited()) );
|
|
|
|
|
// connect (myProcess, TQT_SIGNAL( destroyed() ), myProcess, TQT_SLOT( kill()) );
|
|
|
|
|
// this should work, according to http://doc.trolltech.com/3.2/qobject.html#~TQObject but it doesn't
|
|
|
|
|
}
|
|
|
|
@ -68,6 +69,13 @@ void ProcessController::readStdout()
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void ProcessController::processExited()
|
|
|
|
|
{
|
|
|
|
|
myStatus = false;
|
|
|
|
|
myParent->setText( 1, "" );
|
|
|
|
|
myParent->setText( 2, "" );
|
|
|
|
|
emit stopRipSignal(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void ProcessController::startRip(TQString destination, TQString time)
|
|
|
|
|
{
|
|
|
|
|