KConfigBase::writeEntry and flags (patch)
Olivier Goffart
ogoffart at kde.org
Tue Jan 3 14:50:52 GMT 2006
Hello,
While trying to port KDialog::saveDialogSize, i noticed there is some ugly
config->writeEntry( "foo", foo , true, false, true )
and changed it to a QFlags variant.
About KConfig, has it been decided if it will be renamed KConfigINI finally ?
I think there is too much {Read/Write}Entry function, and i hope one can get
ride of all deprecated function in few times
I even thought about removing WritePathEntry , and add a flag for Paths
As usual, if no one object after few time, I'll commit.
(please tell me anyway if i used QFlags correctly, it's the first time i play
with it)
--
Olivier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kconfig_flags.diff.gz
Type: application/x-gzip
Size: 4823 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060103/c5906a30/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060103/c5906a30/attachment.sig>
More information about the kde-core-devel
mailing list