[PyKDE] How to define a slot as a Qt-slot.

Peter Thorstenson p.t at mailandnews.com
Sun Jan 30 18:06:43 GMT 2000


I wan't to be able to transfer a value between a signal and a slot. As far
as I found out the only way is to use Qt-signals and Qt-slots.
To acheive the Qt.signals is easy but how do I define a slot as a Qt-slot.
The slot I define becomes a python-slot.
When I make the connect to SLOT("slotname()"), pythons says: "there's no
such slot: KTMainwindow::slotname()"

Can anyone tell me?

Peter Torstenson
Rio de Janeiro







More information about the PyQt mailing list