That was it, thanks very much, Brett...
I guess I should have RTFM!!!!
Thanks again.
Cheers, Jo
Brett Viren wrote:
>
> Jo Schambach writes:
> >
> > void exec4event(Int_t event, Int_t x, Int_t y, TObject *selected)
> > {
> > TCanvas *c = (TCanvas *) gTQSender;
> > printf("Canvas %s: event=%d, x=%d, y=%d, selected=%s\n",
> > c->GetName(), event, x, y, selected->IsA()->GetName());
> > }
> >
> > void QtRoot::init() // the constructor of QtRoot calls this function
> > {
> ....
> > rc1->Connect("ProcessedEvent(Int_t,Int_t,Int_t,TObject*)", 0, 0,
> > "exec4event(Int_t,Int_t,Int_t,TObject*)");
> > }
> > }
> >
> >
> > This code compiles correctly, but when I run the application, I get the
> > following message:
> >
> > Error in <TQObject::CheckConnectArgs>: slot exec4event(int,int,int,TObject*)
> > does not exist
>
> Did you run rootcint in order to create a dictionary entry for
> exec4event()?
>
> -Brett
--
*******************************************************
Dr Joachim Schambach
Physics Department, RLM 5.208 -C1600
University of Texas
Austin, TX 78712, USA
Phone: (512) 471-1303; FAX: (781) 998-5513
e-mail: jschamba@physics.utexas.edu
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:02 MET