RFC: KConfig XT (KDE 3.2)
Benjamin Meyer
ben at meyerhome.net
Sun Mar 16 12:00:09 GMT 2003
[snip]
> The idea is to overload the .ini file format and store the type information
> (only) in the default configuration file. The current ini format is like:
>
> [Mail Settings]
> Host=wantelbos.zogje.fr
> Email=bastian at kde.org
>
> An overloaded .ini file format could look like:
>
> [Mail Settings]
> #!Type=string
> #!Description=SMTP server to use for sending mail
> #!Description[nl]=SMTP server voor het versturen van mail
> Host=wantelbos.zogje.fr
> #!Type=string
> #!Description=Default e-mail address
> #!Description[nl]=Standaard e-mail adres
> Email=bastian at kde.org
>
> Lines that start with # are currently considered comment and ignored. It's
> really easy to introduce e.g. '#!' as an indicator for meta-information.
And I thought some of the config files were big now!
-Benjamin meyer
More information about the kde-core-devel
mailing list