Return types of KCompositeJob::removeSubjob() and KJob::removeSubjob()

Kevin Ottens ervin at kde.org
Mon Jul 9 21:06:54 BST 2007


Le lundi 09 juillet 2007, Richard Dale a écrit :
> Well C# doesn't like overriden virtual methods with different return types,
> which is the reason why I asked. I personally find it a bit confusing, but
> I can special case it ok in C# with a 'new' modifier for the
> KIO.Job.RemoveSubjob() method.

Well, I'm not overly attached to returning bool in add/removeSubJob(). If it's
not tested anywhere and is a problem for you, I'm fine if you move to void.

Regards.
-- 
Kévin 'ervin' Ottens, http://ervin.ipsquad.net
"Ni le maître sans disciple, Ni le disciple sans maître,
Ne font reculer l'ignorance."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070709/60c1a759/attachment.sig>


More information about the kde-core-devel mailing list