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

List:       pykde
Subject:    [PyKDE] How to define a slot as a Qt-slot.
From:       "Peter Thorstenson" <p.t () mailandnews ! com>
Date:       2000-01-30 18:06:43
[Download RAW message or body]

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





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

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