KConfig XT: kcalc.kcfg, an example

Nadeem Hasan nhasan at nadmm.com
Thu Oct 2 14:11:09 BST 2003


Quoting Waldo Bastian <bastian at kde.org>:

> <entry name="NumberButtonsColor" type="QColor">
>   <desc>The color of number buttons.</desc>
>   <code>QColor defaultButtonColor = kapp->palette().active().background();</
> code>
>    <default code="true">defaultButtonColor</default>
> </entry>

The "QColor defaultButtonColor = " in <code></code> above looks redundant to
me. This line can be constructed using the information already available
elsewhere. Pardon me if I missed something obvious.

--
Nadeem Hasan
nhasan at nadmm.com
http://www.nadmm.com/

---------------------------------------------------------
This mail sent through WebMail: http://webmail.nadmm.com/




More information about the kde-core-devel mailing list