Is it possible to pass a class derived from TObject via Emit () using the signal/slot mechanism?
What I tried was: Emit(“AddT3(T3Notify*)”,t3);
with class T3Notify : public TObject { … };
T3Notify has a streamer (ClassDef, ClassImp), and comes through a TSocket (which has of course nothing to do with my question).
My code compiles and runs without problems, BUT the value of the pointer that I receive in the slots is always just 1 !
If I look into the TQObject source code, I can’t see any support for passing objects via Emit ().
Am I overstreching the capabilities of signal/slot or is there a way I can get this working.
Ralf Ulrich