PDA

View Full Version : How to use Signal through direct connection



santosh.kumar
14th December 2007, 06:20
hi

I have Four classes
first Class : GUI Thread
Second Class : class 2
Third Class : class 3
Fourth Class: Thread Class.

Gui Thread class call First Class, First Class call Second Class, Second class call Third class and Third class call Fourth Class..

Third class starts the thread and call Fourth Class. Fourth class emit the signal , I want to receive direct in First Gui Thread class. But it is not connected direct to First class..
This signal is bypassed to all classes then SLOT is used in used First GUI class,....

Can I use other method to connect First Class SLOT to Thread class SIGNAL directly...

if any body knows plz help me...

jpn
14th December 2007, 08:07
Can I use other method to connect First Class SLOT to Thread class SIGNAL directly...
Yes of course, as long as you have pointers to both, sender and receiver available. Then, how and where to do it, is more an architectural question.