changing the parent of a KConfigGroup

kde.braxton at kde.braxton at
Wed Jan 2 06:19:28 GMT 2008

ok, this is just a quick try. it removes the caveat about reparenting
to a different file, and actually copies the entries in the entryMap.
it needs a test or two to make  sure it's doing what it's supposed to

On 1/1/08, Aaron J. Seigo <aseigo at> wrote:
> On Tuesday 01 January 2008, kde.braxton at wrote:
> > this shouldn't break anything, because if you look at fullName() it
> > recursively calls parent->fullName(mName). So changing parents, it
> > should return the correct name. The problem seems to be that the way
> > this is written, it can't work because the _actual_ entries in the
> > entryMap are not changed to the new name.
> so now that we've both stated the problem, what's the solution? ;) as i
> said:
> "i'm not sure how to re-jig the entry map in KConfig as there's a fair
> amount
> of black magic in there still. this is the point i'm hoping someone can pop
> up and offer some quick guidance on."
> so .. yes, how do we change the actual entries in the entryMap in the most
> sane way?
> --
> Aaron J. Seigo
> humru othro a kohnu se
> GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43
> KDE core developer sponsored by Trolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reparent.diff
Type: text/x-diff
Size: 4225 bytes
Desc: not available
URL: <>

More information about the kde-core-devel mailing list