KConfig XT: kcalc.kcfg, an example

Oswald Buddenhagen ossi at kde.org
Thu Oct 2 15:14:58 BST 2003


On Thu, Oct 02, 2003 at 09:11:09AM -0400, Nadeem Hasan wrote:
> 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.
> 
the code may be more complex than a simple assignment ...

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




More information about the kde-core-devel mailing list