PDA

View Full Version : Main Thread (GUI Thread)



^NyAw^
18th November 2006, 15:31
Hi,
Is there anyway to get the Main Thread in other objects belonging to it?

I need to get the main thread to make a connection of a SIGNAL and an SLOT but don't want to have to pass the main Thread pointer to this object because I will have to pass the pointer to many objects.

Thanks,

wysota
18th November 2006, 16:07
The "main thread" is the QAplication instance.