[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyKDE] PyQt4 and user-definied classes in signals
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2006-01-31 23:54:06
Message-ID: 20060131235406.GC10288 () morpheus ! apaku ! dnsalias ! org
[Download RAW message or body]

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.

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic