[PATCH] Convenience stuff for KCmodule

Cornelius Schumacher schumacher at kde.org
Sun Feb 15 14:31:55 GMT 2004


On Sunday 15 February 2004 14:15, Simon Hausmann wrote:
> On Sunday 15 February 2004 13:13, Frans Englich wrote:
> >
> > What do you think about adding the macro and the slot to KCModule
> > as the two attached patches suggests? (have been using them just
> > fine)
>
> I think both patches are a good idea (JMHO) . However for the kcm
> macro I don't think automatically prepending kcm_ is a good idea. In
> fact I think the example doesn't work, as the instance name is
> different to the name of the pot file (kcm_useraccount != mod_name
> ('useraccount')) .

Isn't there a more C++-like way to handle this than defining yet another 
macro?

-- 
Cornelius Schumacher <schumacher at kde.org>




More information about the kde-core-devel mailing list