KDE/kdevelop/lib

Andras Mantia amantia at kde.org
Thu Aug 17 06:25:43 UTC 2006


On Thursday 17 August 2006 02:57, Matt Rogers wrote:
> On Wednesday 16 August 2006 11:11, Andras Mantia wrote:
> > SVN commit 573550 by amantia:
> >
> > Make this methods virtual, so one can override them (project is
> > even override in kdevgenericimporter, which is certainly not good
> > if it is not virtual).
> >
> > CCMAIL: kdevelop-devel at kdevelop.org
>
> Why do these methods need to be virtual? They shouldn't need to be,
> but my idea of what the code should be and what it actually is at
> this point may not match

Well, when you create a filemanager implementation, you would need to 
return the top item you created in import, not? So you have to override 
"top" in your implementation.

For project, I don't care about being virtual or not, but it was already 
overridden in the genericimporter, so I thought it makes sense to make 
it virtual as well (but from the code I have the feeling that the 
genericimporter method can be removed).

Andras
-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- 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/kdevelop-devel/attachments/20060817/de1e412f/attachment.sig>


More information about the KDevelop-devel mailing list