[PyKDE] Why does this not work anymore?

Giovanni Bajo rasky at develer.com
Wed Jan 24 00:56:12 GMT 2007


On 24/01/2007 1.00, Matt Chambers wrote:

> 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.

Read the ChangeLog:
http://www.riverbankcomputing.co.uk/pyqt/chlog4.php

2006/12/06 18:11:38 phil
[...] Replaced "PyObject *" as a special signal argument type with 
"PyQt_PyObject" [...]

-- 
Giovanni Bajo




More information about the PyQt mailing list