Re: [PyKDE] PyQt compile error

2001-03-03 Thread Phil Thompson
Steve Spenst wrote: Hello, I am trying to compile PyQt 2.3, and am getting the following error: c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.0 -I/usr/local/include/sip -I/usr/lib/qt/include -I/usr/X11R6/include -fno-exceptions -O2 -Wp,-MD,.deps/qtcmodule.pp -c -fPIC -DPIC

Re: [PyKDE] Lambda function call in connect statement

2001-03-03 Thread Phil Thompson
"Aaron J. Ginn" wrote: Phil Thompson wrote: However, I don't like segfaults - send me a small but complete script that demonstrates the problem and I'll take a look. Phil I've attached a script that displays the core dump. I also included the non-lambda version of the connect

Re: [PyKDE] So how do I pass an argument to a function tied to a callback?

2001-03-03 Thread Boudewijn Rempt
On Fri, 2 Mar 2001, Ken Kozman wrote: Or a little more succinctly, as Aaron said, you want but can't do the following: self.connect( widget, SIGNAL( "clicked()" ), self.someFunction( num ) ) I may not be getting the issue, but I vaguely remember wanting somehting like this, too,