[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdepim/libkdepim
From:       Cornelius Schumacher <schumacher () kde ! org>
Date:       2004-03-15 12:36:58
Message-ID: 200403151336.58541.schumacher () kde ! org
[Download RAW message or body]

On Monday 15 March 2004 11:37, Tobias Koenig wrote:
> CVS commit by tokoe:
>
> The KPimPrefs class recognizes now when his config files has changed and
> reloads its configuration in this case.

You are opening a can of worms with this commit.

- How is the application notified about changes in the configuration?
- What happens, if the application has unsaved changes to the configuration?
- What happens, if not the file returned by locateLocal() is changed, but 
another configuration file?
- How do you prevent that the config is read unnecessarily, e.g. after being 
written by the same application?
- How do you prevent that the application gets into an inconsistent state 
because its configuration changed while running?
- How do you make sure that applications written to the old behaveour still 
work with the new one? Applications might make assumptions about the 
configuration not changing automatically.

-- 
Cornelius Schumacher <schumacher@kde.org>
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic