[PATCH]KConfigGroup::groupList() kind of broken

Oswald Buddenhagen ossi at kde.org
Tue Nov 20 08:40:36 GMT 2007

On Tue, Nov 20, 2007 at 02:27:45AM -0600, Thomas Braxton wrote:
> just one question. if you have two groups [group1/subgroup] and
> [group2/subgroup] with your changes to name() both return "subgroup"
> how do you know which one you are working with?
you don't. that's how tree structures work. ;)
that's why i said that having fullName() as an additional function still
makes sense. otoh, how would the path be returned, given that the
separator should be opaque? as a string list? i think the better
solution would be in fact a kconfiggroup::parentGroup() function. if it
turns out to be needed somewhere, that is ...

Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
Chaos, panic, and disorder - my work here is done.

More information about the kde-core-devel mailing list