francesco perillo wrote: > > We are passing s_slots from Harbour to connect_signal where it is > HBSlots * t_slots... and this is my concern: WHY are you passing > s_slots back/forth between Harbour and C++ ? > > Since from example number 2 slots are used (a Qt program without > slots/events is almost useless..., just a basic display perhaps...) > WHY don't change hbqt_slots.cpp to include a file-wide static variable > s_slots, completely handled by Qt (so no Harbour GC hassle) and then > remove harbour level s_slots variables ? >
I encourage you to follow Qt implementation from the very begining. It was exactly how you want it. But perhaps you could not follow the whole picture. Read my reply to Viktor's message. It will clarify the way I changed this whole mechanism. ----- enjoy hbIDEing... Pritpal Bedi http://hbide.vouch.info/ -- View this message in context: http://n2.nabble.com/hbqt-a-couple-of-questions-tp4874292p4877833.html Sent from the harbour-devel mailing list archive at Nabble.com. _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour