See QMetaObject::invokeMethod() or QMetaObject::invoke().