HI,
I was using a program in which all classes has been derived from TQObject.
The program work perfect in root version 3.01/06 29 July 2001.
When changing to 3.02/07 17 January 2002 I get the following error :
Error in <TQObject::CheckConnectArgs>: signal
Calculation::SetStatus(char*) does not exist
The main program (type ControlBar ) creates a calculation_ptr object
which is of type Calculation *
Inmediately after creating this object a sentence like
calculation_ptr->Connect("SetStatus(char
*)","ControlBar",this,"SetStatus(char *)");
is found.
Now the Calculation class dos not have a SetStatus(char*) member, but it
does has a
sentence Emit("SetStatus(char*)",buffer);
This used to work. Because the calculation class emited an "SetStatus"
signal and ControlBar catched it.
The question i guess is : If I make a Connect, should I always connect
to a member???. Cannot I just connect to a specific string and try to
catch that string, even if the string is not a member??
Thanks in advance.
Ricardo Eusebi
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:46 MET