|
|
|
@ -23,7 +23,7 @@
|
|
|
|
|
#include "processlistviewitem.h"
|
|
|
|
|
|
|
|
|
|
ProcessController::ProcessController(ProcessListViewItem * parent)
|
|
|
|
|
: TQObject((TQObject *)parent), myParent(parent), mytqStatus(false), myAutomatic(false), myProcess(new TQProcess(this))
|
|
|
|
|
: 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( destroyed() ), myProcess, TQT_SLOT( kill()) );
|
|
|
|
@ -71,7 +71,7 @@ void ProcessController::readStdout()
|
|
|
|
|
|
|
|
|
|
void ProcessController::startRip(TQString destination, TQString time)
|
|
|
|
|
{
|
|
|
|
|
mytqStatus = true;
|
|
|
|
|
myStatus = true;
|
|
|
|
|
myParent->setText( 1, "Ripping" );
|
|
|
|
|
|
|
|
|
|
myProcess->clearArguments();
|
|
|
|
@ -92,7 +92,7 @@ void ProcessController::startRip(TQString destination, TQString time)
|
|
|
|
|
|
|
|
|
|
void ProcessController::stopRip()
|
|
|
|
|
{
|
|
|
|
|
mytqStatus = false;
|
|
|
|
|
myStatus = false;
|
|
|
|
|
myParent->setText( 1, "" );
|
|
|
|
|
myParent->setText( 2, "" );
|
|
|
|
|
|
|
|
|
@ -101,9 +101,9 @@ void ProcessController::stopRip()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool ProcessController::gettqStatus()
|
|
|
|
|
bool ProcessController::getStatus()
|
|
|
|
|
{
|
|
|
|
|
return mytqStatus;
|
|
|
|
|
return myStatus;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TQString ProcessController::getUrl()
|
|
|
|
|