[PyKDE] Why does this not work anymore?

Matt Chambers chambers at imageworks.com
Wed Jan 24 00:00:21 GMT 2007


Using Qt4.1 and PyQt 4.0.1 this worked fine:

l = [1,2,3,4,5]
self.emit(QtCore.SIGNAL("selected(PyObject *)"),l)

Using Qt4.2 and PyQt 4.1.1 I get:

TypeError: argument 0 of signal QDialog.selected(PyObject*) has an 
invalid type

What am I missing here?  Has signals slots changed again?  Also, I just 
want to confirm that 4.1.1 still garbage collects emitted values.

-Matt




More information about the PyQt mailing list