[PATCH] KProcess port of khelpcenter

Oswald Buddenhagen ossi at kde.org
Fri Dec 14 19:30:02 GMT 2007


On Fri, Dec 14, 2007 at 08:18:43PM +0100, Ralf Habacker wrote:
> Oswald Buddenhagen schrieb:
>> On Fri, Dec 14, 2007 at 07:56:40PM +0100, Ralf Habacker wrote:
>>> +	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 ?
>
unless i'm severely misreading the doc, finished() is never emitted if
started() was not emitted before. and that is emitted only upon success
to start. so if you want/need to handle failure to start up
asynchronously, connect to error().

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Confusion, chaos, panic - my work here is done.




More information about the kde-core-devel mailing list