Methodes of interest

Bernd Gehrmann Bernd-Gehrmann at gmx.de
Mon May 27 10:41:02 UTC 2002


On Monday 27 May 2002 09:49, you wrote:
> On Sun, May 26, 2002 at 06:35:57PM +0200, Christoph Cullmann wrote:

> BTW, KParts::ComponentFactory provides pretty much the same, in a
> generic fashion :)

I'm confused. Wasn't dynamic_cast over an application-plugin border said
to not work in general? But KParts::ComponentFactory uses dynamic_cast.
As it's a template class, the compiler emits the code in the application,
and the object it works on is an instance of a class defined in the plugin.

Bernd.




More information about the KDevelop-devel mailing list