¡@

Home 

c++ Programming Glossary: mysignal

How to emit cross-thread signal in Qt?

http://stackoverflow.com/questions/638251/how-to-emit-cross-thread-signal-in-qt

run void msleep 200 std cout thread 1 started std endl MySignal exec signals void MySignal void class CThread2 public QThread.. cout thread 1 started std endl MySignal exec signals void MySignal void class CThread2 public QThread Q_OBJECT public void run.. oThread1 CThread2 oThread2 QObject connect oThread1 SIGNAL MySignal oThread2 SLOT MySlot oThread1.start oThread2.start oThread1.wait..