how to communicate two threads and their types(or)methods...
how to communicate two threads and their types(or)methods...
Same way as without threads: you call methods directly or have signal/slot connections.
The only difference is that you need to protect against concurrent access of data using synchronization helpers such as QMutex and that for certain type of signal/slot connections the receiving thread needs to run an event loop.
Cheers,
_
Bookmarks