In data mercoledì 30 settembre 2009 14:09:52, Thomas Olsen ha scritto:

>  QObject.connect(self.currency_from,SIGNAL("activated(PyQt_PyObject)"),self
> .do_convert_from)

In addition to what Aaron said (the signature in quote is not correct), you 
could also use the new PyQt signal API, which is more Pythonic and prevents 
connections not working if you make a typing error.

Basically:

self.currency_form.activated.connect(self.do_convert_form)

so it's object.SIGNAL.connect(SLOT).

Notice that this works only for newer PyQt and SIP versions. In PyKDE4 it 
works most of the time, but not always.

A little OT, but I hope it helps.

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to