[PyKDE] PyQt4 and user-definied classes in signals

Andreas Pakulat apaku at gmx.de
Tue Jan 31 23:54:06 GMT 2006


Hi,

is or will it be possible to use user-defined classes when emitting
signals? For example I'd like to pass an instance of my data class
around with the signal, however I get an error with

self.emit(QtCore.SIGNAL("dataChanged(Data)"), self.data)

telling me that the argument 0 of the signal has the wrong type.

Andreas

-- 
You display the wonderful traits of charm and courtesy.




More information about the PyQt mailing list