[PyQt] New style signals question

Detlev Offenbach detlev at die-offenbachs.de
Wed Aug 11 17:28:45 BST 2010


Hi,

In my old code I have QTimer code like

QTimer.singleShot(0, self, SIGNAL("metaDataChanged()"))

How do I convert this to the new style signals code? I tried

QTimer.singleShot(0, self.metaDataChanged)

but this threw an error.

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


More information about the PyQt mailing list