[Development] A QtCore class for event-driven jobs

David Faure david.faure at kdab.com
Wed Sep 11 17:19:13 CEST 2013


On Tuesday 10 September 2013 21:09:55 Peter Kümmel wrote:
> On 06.09.2013 19:52, David Faure wrote:
> >     connect(job, SIGNAL(result(QJob*)),
> >             this, SLOT(handleResult(QJob*)));
> 
> This looks so old-school like in times of futures and monads.

I'm an old-timer, clearly ;-)

> Couldn't such a class be part of the hopefully coming QtConcurrent
> replacement?

Can we forget about threads for a second?

The main point of event-driven jobs is to have them use the event loop, NOT 
threads.

-- 
David Faure | david.faure at kdab.com | Managing Director KDAB France
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions




More information about the Development mailing list