C++ (Qt)void process(){ qDebug() << QThread::currentThread(); qDebug() << m_DerivedDialog->thread; ...}