[PyQt] New style signals question

detlev detlev at die-offenbachs.de
Wed Aug 4 18:50:54 BST 2010


Hi,

in my code I have a line like

act.triggered.connect(self.myslot)

The slot has a method signature like

def myslot(self, fn = None, foo = "bar"):

However, it is always called with fn set to False. It seems that 
triggered(bool) is the default signal. How do I get my slot connected to the 
triggered() signal? Using the old style I could use SIGNAL("triggered()").

Regards,
Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de


More information about the PyQt mailing list