[Kde-pim] Python object that match or binding Settings object

Mario Santagiuliana fedora at marionline.it
Fri Aug 19 08:41:43 BST 2011


In data 19/8/2011 09:11:46, Kevin Krammer ha scritto:
> One thing that looks wrong is the second parameter to addItemInt().
> This  should be a reference to a variable or class member, just like in
> addItemString().

It should be ok, the documentation report an integer value to pass:
http://api.kde.org/pykde-4.5-api/kdecore/KCoreConfigSkeleton.html#addItemInt

If I use the built in python function int() to pass the value there is no 
change...

> You could try a subclass of the skeleton like in the article.
I try it but the result is the same, there is not creation of a file 
configuration...
-- 
Mario Santagiuliana
www.marionline.it
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20110819/34721909/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list