Hi,
I'm experiencing some problems passing arguments when emitting signals
in pyside,
code such this:
self.xmlcalls=XmlCalls(parent=self)
self.connect(self.xmlcalls, SIGNAL('rpc_response'),self.onXmlResponse)
def onXmlResponse(self,resp):
print 'xmlresponse'
print resp
and then in the XmlCalls:
self.emit(SIGNAL('rpc_response'),resp)
works fine in PyQt, but in PySide I have the following error:
Error calling slot "onXmlResponse"
TypeError: onXmlResponse() takes exactly 2 arguments (1 given)
I tryed to follow this guide
http://www.pyside.org/docs/pyside/newsigslot.html
with no success is this updated?
any help would be appreciated,
thanks
Nicola
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside