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

List:       kde-core-devel
Subject:    Re: Speeding up kconfig.
From:       Waldo Bastian <bastian () kde ! org>
Date:       2000-09-22 5:35:27
[Download RAW message or body]

On Thu, 21 Sep 2000, Alex Zepeda wrote:
> On Thu, Sep 21, 2000 at 05:55:25PM -0700, Waldo Bastian wrote:
> > Hello,
> >
> > I've done some playing around with KConfig and friends today and have
> > managed to make quite some improvements.
>
> Cool, I'm all for this.. however, if you're going to make some binary
> incompatible changes (which I think may be a good idea, as I can think of
> a somewhat more ideal SSL/ioslave fix that would require a binary
> incompatible change as well).. how hard would it be to make the
> KConfigBase and friends a little bit easier to extend?  As it stands now
> it makes use of friend classes which (unless my knoweledge of C++ is a bit
> off) means I have to hack the KConfig files to add new backends..

Something like:

virtual KConfigBackend* KConfig::createBackend()

?

Then you can derive from KConfig and override this function and return your 
own KConfigBackend class.

Cheers,
Waldo
-- 
KDE/Linux, you make the choice.

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

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