[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: [RFC] KConfig API stuff
From: David Faure <faure () kde ! org>
Date: 2007-10-23 12:52:04
Message-ID: 200710231452.05267.faure () kde ! org
[Download RAW message or body]
On Tuesday 23 October 2007, Oswald Buddenhagen wrote:
> On Tue, Oct 23, 2007 at 01:39:47PM +0200, Alexander Neundorf wrote:
> > On Tuesday 23 October 2007 11:31, Oswald Buddenhagen wrote: ...
> > > anyway, this is waaaay too much noise for a function that is used
> > > four times in all of KDE/ and nowhere in extragear/ or koffice/
> > > (iirc).
> >
> > Sure, just try to give it a name which says what it does do instead of
> > what it does not do.
> >
> it says what it does. ;)
> - sync(): flush changes to disk. config is the same in ram and on disk
> afterwards
> - fakeSync(): pretend that changes are flushed. kconfig *thinks* that
> config is the same in ram and on disk afterwards
fakeSync doesn't really tell what happens to the values in ram after that;
it sounds like the real sync is still to be done.
Why not call this revert()? After all that's exactly like a svn revert, no?
--
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic