[ROOT] cant connect slot to THIS pointer ?

From: Joe Robe (joer00@yahoo.com)
Date: Thu Feb 21 2002 - 15:58:51 MET


Hi Rooters,

I dont get signal/slot mechanism to run, I always get error message TQObject::CheckConnenctArgs slot SlotTest() does not exist.

I only see any special requirements for SIGNALS but not for slots, so ANY class method should be a slot or ??

Maybe one cant connect via this pointer ??? I tried :

MyClass::SomeMethod()
{
TTimer* Timer=new TTimer(2000);
Connect(Timer, "Timeout()","MyClass",this, "SlotlTest()");
}



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



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