Moving KPrefs from libkdepim to kdelibs
Ingo Klöcker
kloecker at kde.org
Mon Jul 21 23:54:57 BST 2003
On Monday 21 July 2003 18:26, Benjamin Meyer wrote:
> On Monday 21 July 2003 11:10 am, Waldo Bastian wrote:
> > 3) It should be possible to use a KPrefs based config-backend
> > together with KAutoConfig. I would even go as far as saying that
> > KAutoConfig should _only_ support KPrefs, and not KConfig directly
> > to promote the use of KPrefs, see 4.
>
> Please correct me if I am wrong (I haven't looked at KPref's code
> sense March) but KPrefs main reason for being was it set _one_ place
> for the default values. If I were to move all of my default values
> for an application to my applications global config and remove them
> all from the binary I could achieve the same result. Any time I
> needed a entry I could just call config->readEntry("foo") without the
> default value because I knew that the default value was in the global
> list.
Maybe I'm missing something but I don't think that this will work for
objects like KMail's accounts, transports, identities, and all other
config information which is available for multiple objects because
obviously the application's global config file can't contain any
default values for an uncountable number of accounts, transports,
identities, etc..
Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 192 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20030722/1bda69e2/attachment.sig>
More information about the kde-core-devel
mailing list