[PyKDE] QObject::connectNotify

Phil Thompson phil at riverbankcomputing.co.uk
Tue Aug 23 11:47:29 BST 2005


> Hi -
>
> Is there a version of QObject::connectNotify for python signals, or a
> similar mechanism? I have a signal whose conditions are very expensive to
> calculate, so it would be better to not calculate its conditions if it is
> not connected.

Afraid not. Unfortunately, as connectNotify() is protected, extending it
isn't trivial.

Phil




More information about the PyQt mailing list