[signal] custom connect/disconnect
Hi all, I have a program where I have several signals, and I want an action to be taken when connect/disconnect occurs on them. I would prefer to avoid wrapping the calls, since it would reduce composibility. I would imagine that this isn't the first time that such a requirement has been made of signals, so I was wondering if someone could point me towards the standard solution for this? Regards, John
On Jun 13, 2005, at 6:56 AM, John Maguire wrote:
I have a program where I have several signals, and I want an action to be taken when connect/disconnect occurs on them. I would prefer to avoid wrapping the calls, since it would reduce composibility. I would imagine that this isn't the first time that such a requirement has been made of signals, so I was wondering if someone could point me towards the standard solution for this?
I don't know of any good solutions to this. If you do end up wrapping the calls, be sure to use the "slot_type" of the signal. Doug
participants (2)
-
Doug Gregor
-
John Maguire