enum's & KConfigBase

Waldo Bastian bastian at kde.org
Wed Jan 18 02:16:32 GMT 2006


> > KConfigXT does such conversion for you.
>
> For enums that are defined for KConfigXT, but what about all the rest? And
> with KConfigXT as far as I can tell the enum has to be defined in two
> places 1) the header to be used by code
> 2) the .kcfg file to be used for reading/writing
> and that means they need to be kept in sync, or it defeats the purpose.

KConfigXT generates a header for you from the .kcfg file.

Cheers,
Waldo
-------------- 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/20060117/fa3c5c8d/attachment.sig>


More information about the kde-core-devel mailing list