[Development] A QtCore class for event-driven jobs

Aleix Pol aleixpol at kde.org
Sun Sep 8 04:06:27 CEST 2013


On Sat, Sep 7, 2013 at 2:20 AM, Thiago Macieira
<thiago.macieira at intel.com>wrote:

> On sexta-feira, 6 de setembro de 2013 19:52:47, David Faure wrote:
> > * relation to QNetworkReply?
> > If that one didn't exist yet, we'd definitely write it as a QJob
> subclass.
> > So  instead, I propose to wrap QNetworkReply into a QNetworkJob or
> > something, in order to offer the QJob interface for QNAM requests. On one
> > hand this doesn't have to go in at the same time as QJob itself, but OTOH
> > it could be a real- world testcase for it, proving its usefulness and
> > correctness...
> >
> > Any other questions?
>
> What if we put the QJob class and convenience derived classes like
> QNetworkRequestJob, QProcessJob, QThreadJob, etc. in one new library.
>
> This library could be extended later with more job types.
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>
>
Either that or not rushing into porting everything to QJob. Having it in a
separate library would mean having QtCoreJobs, QtNetworkJobs, etc. Doesn't
seem to be very flexible.

Aleix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130908/4550aa1b/attachment.html>


More information about the Development mailing list