[PATCH] add setAutoDelete/isAutoDelete to KJob

Andreas Pakulat apaku at gmx.de
Sat Jan 5 15:11:45 GMT 2008


On 05.01.08 16:09:22, Andreas Pakulat wrote:
> Hi,
> 
> as I said some time ago KDevelop would like KJob to not delete itself
> once the job is done because some of the job subclasses there carry some
> metadata which is used after the job is finished to create new jobs:
> http://lists.kde.org/?t=119540009900001&r=1&w=2
> 
> Attached is a patch for KJob that adds two new functions, setAutoDelete
> and isAutoDelete (and a new member in the private class). The flag is
> used in kill() and when emitting the result to disable the deleteLater()
> calls.
> 
> Comments? Objections to commit?

Sorry that was the wrong patch, here's the right one which actually
builds :)

Andreas

-- 
That secret you've been guarding, isn't.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdelibs_kjob_autodelete.diff
Type: text/x-diff
Size: 2575 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080105/d63bc40e/attachment.diff>


More information about the kde-core-devel mailing list