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

Andreas Pakulat apaku at gmx.de
Tue Nov 20 13:04:17 GMT 2007

On 20.11.07 02:58:16, Thomas Braxton wrote:
> On 11/20/07, Oswald Buddenhagen <ossi at kde.org> wrote:
> > 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 ...
> >
> well it would be simple enough to add, since KConfigGroupPrivate
> already has mParent.

Just adding parentGroup() is not the only thing that needs to be done to
have subgroups implemented properly. Anyway, this is 4.1 material and we
can start at that once 4.0 is out the door.


You will be married within a year, and divorced within two.

More information about the kde-core-devel mailing list