[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyKDE] QObject::connectNotify
From: "Phil Thompson" <phil () riverbankcomputing ! co ! uk>
Date: 2005-08-23 10:47:29
Message-ID: 31771.194.203.13.71.1124794049.squirrel () river-bank ! demon ! co ! uk
[Download RAW message or body]
> 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
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic