C++ (Qt)QObject::connect(&threadA,SIGNAL(itemRepaint(Chip)),widget,SLOT(updateItem(Chip)), Qt::QueuedConnection);