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