Re: [PyKDE] Qt 4.1.1: QTreeWidgetItemIterator

2006-03-11 Thread Phil Thompson
On Friday 10 March 2006 12:24 pm, Emanuele Santos wrote: Hi, Phil Are you planning to start supporting Qt 4.1.1 soon? It would be wonderful to have the wrap for QTreeWidgetItemIterator. I need to make faster updates in a QTreeWidget. They improved the performance in version 4.1.1 , but my

[PyKDE] QSettings

2006-03-11 Thread Fabian Steiner
Hello! I am using QSettings to save my application's preferences on disk. Unfortunately, it doesn't work as I would like it to do. My Config class looks like this: http://fabis-site.net/Config.py.txt In my current application I have got one MainWindow and several Dialogs which need special

Re: [PyKDE] QSettings

2006-03-11 Thread Andreas Pakulat
On 11.03.06 16:55:25, Fabian Steiner wrote: How can I solve this problem? I thought of passing the current Config class instance to one of the Dialog constructor's arguments. Is there any better solution? Only create 1 instance of the class. Not sure if this works in python but I would start

Re: [PyKDE] QSettings

2006-03-11 Thread Fabian Steiner
Andreas Pakulat wrote: On 11.03.06 16:55:25, Fabian Steiner wrote: How can I solve this problem? I thought of passing the current Config class instance to one of the Dialog constructor's arguments. Is there any better solution? Only create 1 instance of the class. Not sure if this

Re: [PyKDE] QSettings

2006-03-11 Thread Detlev Offenbach
The single instance method works quiet well in eric3. Maybe you get a copy of it and have a look at its Preferences system. Detlev Am Samstag, 11. März 2006 19:21 schrieb Fabian Steiner: Andreas Pakulat wrote: On 11.03.06 16:55:25, Fabian Steiner wrote: How can I solve this problem? I

[PyKDE] Double free() problem in PyQt 3.15.1??

2006-03-11 Thread Simon Edwards
Hi Phil and everybody else, I'm busy working on polishing and debugging stuff for the coming Kubuntu release, which makes increasingly more use of PyQt+PyKDE BTW. Anyway, I think I've come across a double free memory bug in PyQt 3.15.1. Qt complains about a Double QObject deletion detected.,

Re: [PyKDE] Double free() problem in PyQt 3.15.1??

2006-03-11 Thread Phil Thompson
On Saturday 11 March 2006 7:13 pm, Simon Edwards wrote: Hi Phil and everybody else, I'm busy working on polishing and debugging stuff for the coming Kubuntu release, which makes increasingly more use of PyQt+PyKDE BTW. Anyway, I think I've come across a double free memory bug in PyQt 3.15.1.

Re: [PyKDE] Double free() problem in PyQt 3.15.1??

2006-03-11 Thread Giovanni Bajo
Simon Edwards [EMAIL PROTECTED] wrote: Anyway, I think I've come across a double free memory bug in PyQt 3.15.1. Qt complains about a Double QObject deletion detected., and valgrind points to a problem in sipKDialogBase::~sipKDialogBase(). (Reading memory which is already free'd, and invalid

Re: [PyKDE] missing gcc include directive for PyQt4 snapshot

2006-03-11 Thread Phil Thompson
On Thursday 02 February 2006 6:03 pm, Patrick Stinson wrote: the command line to compile pylupdate is missing an include directive pointing to the value of the QMAKESPEC env variable. My mkspec is linux-g++-64, but the command line has $QTDIR/mkspecs/linux-g++, which I have not specified

Re: [PyKDE] Double free() problem in PyQt 3.15.1??

2006-03-11 Thread Jim Bublitz
On Saturday 11 March 2006 11:13, Simon Edwards wrote: Hi Phil and everybody else, I'm busy working on polishing and debugging stuff for the coming Kubuntu release, which makes increasingly more use of PyQt+PyKDE BTW. Anyway, I think I've come across a double free memory bug in PyQt 3.15.1.

[PyKDE] sip and const void * typedefs.

2006-03-11 Thread Jon
Hi I've been using sip (successfully) with library which defines things like typedef const void * InstanceHandle; typedef const void * SessionHandle; and then has functions like InstanceHandle getInstance(bool); SessionHandle createSession(InstanceHandle,int,int); I constructed a

Re: [PyKDE] QProcess: more guidance needed

2006-03-11 Thread Tina Isaksen
Andreas Pakulat wrote: Here you go, the attached program works for me, after 5 seconds apt-get correctly gets the y. Note that the \n after it is needed, because else apt doesn't get that this is all you want to send. Andreas Thanks! I see where I messed up. I tried all kinds of ways to feed