Re: [ROOT] how to debug signal/slot problems

From: Valeriy Onuchin (Valeri.Onoutchine@cern.ch)
Date: Tue Mar 05 2002 - 18:18:23 MET


 Hi,

Brett Viren wrote:

> Joe Robe writes:
>  >
>  > is there any way to debug signal/slot problems ?
>
> FWIW, when I used Rt, my main problems with "mysterious" quiet
> failures were either typos in the string arguments to Connect() or
> forgetting to generate and link in dictionaries for the classes
> providing the slots.  I would check if these two situations exist for
> you before diving in to more complicated debugging.
>

++
  TQObject::Connect methods  have "consistency checking" inside.
  In case of connecting to "non-existent slot" it will return kFALSE, otherwise -> kTRUE


HTH.    Regards.    Valeriy



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:44 MET