[PyQt] New style signals question
Phil Thompson
phil at riverbankcomputing.com
Sat Aug 21 12:19:28 BST 2010
On Wed, 11 Aug 2010 18:28:45 +0200, Detlev Offenbach
<detlev at die-offenbachs.de> wrote:
> 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.
This is fixed in tonight's snapshot (assuming metaDataChanged is defined
as a pyqtSignal).
Phil
More information about the PyQt
mailing list