obj1->slot1();
connect(this, SIGNAL(signal1()), obj1, SLOT(slot1()));// . . .emit signal1()
mutex.lock();// . . .mutex.unlock();
{ QMutexLocker(&mutex); // . . .}