[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] Re: [PyKDE] KConfigSkeleton/KConfigDialog combo not working
From:       Jim Bublitz <jbublitz () nwinternet ! com>
Date:       2008-03-28 23:56:25
Message-ID: 200803281656.26617.jbublitz () nwinternet ! com
[Download RAW message or body]

On Thursday 27 March 2008 08:32, Adeodato Simó wrote:
> Hello.
>
> I'm having trouble porting my PyKDE3 KConfigSkeleton/KConfigDialog: it
> behaves weird in KDE4.
>
> I'm attaching a very small sample program. The weird behavior I'm
> observing is:
>
>   (a) on the first run, when no testrc file exists under ~/.kde, the
>       value of MyOption is correctly set to False, but when I click on
>       the Preferences button, the checkbox is checked (instead of not
>       checked, at it'd correspond)
>
>   (b) so I change in the dialog the value to True, when closing the
>       dialog the LineEdit updates accordingly, and the option is written
>       as "true" to the testrc file, but when I restart the program, it
>       is set to False again
>
> Can you reproduce? Is there something wrong with my code? (With KDE 3 it
> worked just fine).

Progress report: 

OK - I figured out what's wrong. Now I have to figure out how I want to fix it 
permanently (affects most of the KConfigSkeletonItem subclasses - Item*)

I should have a new release up sometime next week.

Jim

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic