[PyKDE] connect with signals

Andreas Pakulat apaku at gmx.de
Sat Jan 14 20:14:06 GMT 2006


On 14.01.06 18:18:44, Phil Thompson wrote:
> On Saturday 14 January 2006 5:59 pm, Andreas Pakulat wrote:
> > Hi,
> >
> > is it possible with PyQt4 to connect 2 signals with each other? If so,
> > how? Without an intermediate slot?
> 
> The same way you do it in Qt - pass a SIGNAL() rather than a SLOT() as the 4th 
> argument to connect(). The t14.py has an example use.

Thanks, should have had a look at the examples before asking. I only
checked the sip-files for connect and could only find a version with 4
arguments and the last one beeing a slot.

Andreas

-- 
You are deeply attached to your friends and acquaintances.




More information about the PyQt mailing list