[PATCH] KProcess port of khelpcenter

Ralf Habacker ralf.habacker at freenet.de
Fri Dec 14 19:18:43 GMT 2007


Oswald Buddenhagen schrieb:
> On Fri, Dec 14, 2007 at 07:56:40PM +0100, Ralf Habacker wrote:
>   
>> Appended is the first part of the updated patch. Okay to commit ?
>>
>>     
> close, but not there yet. :)
>
>   
>> +	m_meinproc->start();
>> +	m_meinproc->waitForStarted();
>>  
>>     
> of course i expect the code to actually examine the return value from
> waitForStarted and make something useful with it, otherwise there is no
> point in calling it. ;)
>   
All error handling is done in meinprocExited( int exitCode, 
QProcess::ExitStatus exitStatus), isn't this enough ?  Which case should 
be handled immediatly after waitForStart() ?


Ralf







More information about the kde-core-devel mailing list