From kde-core-devel Wed Jul 25 18:19:07 2001 From: Martijn Klingens Date: Wed, 25 Jul 2001 18:19:07 +0000 To: kde-core-devel Subject: Re: RFC: KConfig changes for 3.0 X-MARC-Message: https://marc.info/?l=kde-core-devel&m=99608492221696 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