Simon Hausmann shaus at neuro2.med.uni-magdeburg.de
Fri Jun 23 07:13:39 UTC 2000

On Thu, 22 Jun 2000, CVS by gehrmab wrote:

> kdevelop/kdevelop/lib kdevcomponent.cpp,NONE,1.1
kdevcomponent.h,NONE,1.1 Makefile.am,1.1,1.2
> Author: gehrmab
> CVSROOT: /home/kde
> Thu Jun 22 21:20:20 UTC 2000
> Update of /home/kde/kdevelop/kdevelop/lib
> cvs.kde.org hosted by sourceforge.net
> Modified Files:
>       Makefile.am 
> Added Files:
>       kdevcomponent.cpp kdevcomponent.h 
> Log Message:
>  * Turned Component into KDevComponent which inherits KParts::Plugin
>   Instead of multiple inheritance, the component and its visual
>   representation (aka widget ;-) are now separated.


Out of curiousity: Why don't you make it inherit from KParts::Part ? :-)

KParts::Part already provides the document<->view separation in the API
and it would make the component easier useable outside of kdevelop. (IMHO)

Just a random thought :-) Feel free to ingore :-) (My opinion doesn't
count as I didn't contribute - the one who codes decides :-)


More information about the KDevelop-devel mailing list