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

List:       kde-core-devel
Subject:    Re: RFC: KConfig changes for 3.0
From:       Martijn Klingens <mklingens () yahoo ! com>
Date:       2001-07-25 18:19:07
[Download RAW message or body]

On Wednesday 25 July 2001 20:07, David Faure wrote:
> > I fully agree here too, but one question about the syntax: is operator
> > overloading a better way here? Like
> >
> > - config->group("Some Group Name")->readEntry("Some Key");
> > + config[ "Some Group Name" ][ "Some Key" ];
> >
> > It seems to me that KDE dislikes this syntax, because it is hardly used,
> > but I wonder why.
>
> Because it would have to be (*config)["group"], and this looks really ugly.

Ok, you win ;-)

Martijn

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

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