On Sat, 30 Oct 1999, Stephan Kulow wrote: > David Faure wrote: > > > > I see the point, but as Stephan said, you should do this without > > faking arguments where there are none... > > > > How did you think of faking the args in KLibLoader ? > > A similar approach could be used, but without making them args... > > > I think, it's very legitim to put the icon and caption into KInstance, > but KInstance shouldn't set them theirself. If you run it from a > KApplication, KApplication is still the source for this informations. > Whatever parses the given servicetype also knows about the translated > Name and should pass that one to the created KInstance. Don't pass > anything else to KInstance than the pixmaps and the caption - or you > simply ruin the API :) OK, I'm fine with that :-) So it is OK to move the icon/caption stuff to KInstance, make KApplication set these properties, and make KLibLoader (or anything else) set them for shlib components? Bye, Simon