[Kmymoney-devel] Report settings page

Bernd Gonsior bernd.gonsior at googlemail.com
Sun May 9 21:40:55 CEST 2010


Cristian Oneţ schrieb am 09.05.2010 17:34: 
> Hi Bernd,
> 
> I thought I'll give you a tip to solve this problem since I've been in
>  your  situation a while ago and ended up reading KConfig code to figure
>  out the solution for this.
> Yo have to say which property of the KUrlRequester is mapped to the 
> configuration option. This is done in the following way in the 
> icalendarexportplugin settings module:
> 
> <widget class="KUrlRequester" name="kcfg_icalendarFile">
>   <property name="kcfg_property" stdset="0">
>     <cstring>text</cstring>
>   </property>
> </widget>
> 
> So you basically need to set a property named 'kcfg_property' with the
>  value  text to have a KUrlRequester's value bound to a configuration
>  option.

Thanks, this worked!

Regards,
Bernd


More information about the KMyMoney-devel mailing list