A Qt replacement for KGlobal::ref and deref

Andreas Pakulat apaku at gmx.de
Wed Feb 9 23:47:32 GMT 2011


On 09.02.11 16:01:31, Dawit A wrote:
> On Wed, Feb 9, 2011 at 3:29 PM, Stephen Kelly <steveire at gmail.com> wrote:
> > Christoph Feck wrote:
> >
> >> On Wednesday 09 February 2011 21:01:09 Stephen Kelly wrote:
> >>> KJob would be a Qt only library
> >>
> >> ? KJob is not a library, but a class in kdecore.
> >
> > I should have been more clear I guess. When I wrote kjob there I meant a
> > library for asynchronous job execution containing kjob, kcompositejob and
> > perhaps the rest of the contents of kdecore/jobs
> 
> ahh... unless your intent is to provide your own implementation of
> KIO, "asynchronous job execution" involves more than just
> kdecore/jobs.

No it does't (well, except a job-tracker gui). KIO is async IO on top of
KJob, you can very easily use plain KJob to do other stuff. KJob is just
a contract to the outside how an async job looks and behaves like and it
covers the common functionality of such jobs. Anything that you need to
implement on top of kjob is custom to your problem space anyway. The
only thing that really is not in kdecore is the mentioned job-tracking
ui which allows for monitoring, cancelling etc. of the jobs (thats in
kdeui though IIRC).

Andreas

-- 
All the troubles you have will pass away very quickly.




More information about the kde-core-devel mailing list