Hi, i am new in thread programming with c++. Ive used threads in Java.
My problem is this:
I have a class with several methods. All this methods MUST be runned as thread because attemps to connect to external devices and i dont want to block my app. If i subclass QThread then i must have a run method reimplemented. Now the ugliest solution would be a huge case or something like that to call the method i want. But have to be another way. In hava there are anonymous classes so is easier. How can i solve this??
Thanks very much.
Bookmarks