[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Finding if an object is connected to a given slot
From:       Jeroen Wijnhout <wijnhout () science ! uva ! nl>
Date:       2003-06-27 12:00:59
[Download RAW message or body]

On Friday 27 June 2003 12:57, Adriaan de Groot wrote:
> Suppose I have a class A, and a class B. Class B has slot s. I want to
> check if there is _any_ connection from a signal of class A to B::s. This
> is to be used in internally validating my code - I want to assert that all
> objects in such-and-such a collection have connections to B::s.

Look in the QObject docs, there is a dumpObjectInfo() function that shows the 
connections (maybe I got the name wrong, you'll figure it out).

groeten,
Jeroen

-- 
 Jeroen S. Wijnhout, PhD student  (wijnhout@science.uva.nl)
 Institute for Theoretical Physics, University of Amsterdam
 http://www.science.uva.nl/~wijnhout
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic