[PATCH] kcmoduleinfo [WAS] Plugin linking problem

Andreas Pakulat apaku at gmx.de
Fri Aug 10 15:29:01 BST 2007


On 10.08.07 15:33:43, Matthias Kretz wrote:
> On Friday 10 August 2007, David Faure wrote:
> > because it  keeps the code much more modular. You can just link together
> > your kcontrol module code and your ktexteditor code plugin code, without the
> > need for those two pieces of code to know about each other. If you had to
> > create one mega-factory which can create both kinds of things, then you need
> > to tie them together at the code level, making future refactorings more
> > difficult.
> 
> Right.
[...]
> Anyway, by deriving from a KCModuleFactory type of class it could look like 
> this:

Hmm, this looks like a quite good solution to me.

Andreas

-- 
You will gain money by an immoral action.




More information about the kde-core-devel mailing list