[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KCModule question
From:       Waldo Bastian <bastian () kde ! org>
Date:       2002-01-23 19:17:19
[Download RAW message or body]

On Tuesday 22 January 2002 04:08 pm, Richard Moore wrote:
> Waldo Bastian wrote:
> > On Tuesday 22 January 2002 01:53 am, Simon Hausmann wrote:
> > >    static void init() {};
> > >
> > > Any objections against removing this method?
> >
> > I can't think of any possible use this function can have had :-)
>
> I think it's from the old days when each module got loaded as KDE
> started. This method was then called for it to apply its settings,
> but most didn't need this so it was rather wasteful...

The point is that it is a non-virtual static function.... even if a module 
would re-implement it, it would never be called because it would be 
impossible to do so.

Cheers,
Waldo
-- 
bastian@kde.org  |   SuSE Labs KDE Developer  |  bastian@suse.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic