diff -r 5db8dfd30ea2 -r c2a05fa925a1 process.cpp --- a/process.cpp Thu Nov 23 16:18:26 2006 +0000 +++ b/process.cpp Fri Dec 08 20:18:56 2006 +0000 @@ -5,9 +5,9 @@ ///////////////////////////////////////////////////////////////// Process::Process() { - connect( this, SIGNAL(readyReadStderr()), + connect( this, SIGNAL(readyReadStandardError()), this, SLOT(readProcErrout()) ); - connect( this, SIGNAL(readyReadStdout()), + connect( this, SIGNAL(readyReadStandardOutput()), this, SLOT(readProcStdout()) ); clear(); } @@ -24,7 +24,7 @@ void Process::waitFinished() { - while (isRunning()) + while (state()==QProcess::Running) { // FIXME use some kind of sleep here... system ("sleep 1"); @@ -33,12 +33,12 @@ void Process::readProcErrout() { - errOut+=readStderr(); + errOut+=readAllStandardError(); } void Process::readProcStdout() { - stdOut+=readStdout(); + stdOut+=readAllStandardOutput(); } QString Process::getErrout()