Yup, 4 hours should be plenty for immigration, baggage collection, and T4 to T3 transfer. The latter is a short and free ride on Heathrow Express or the Elizabeth line.
Note QR 11 has often been arriving over one hour late recently.
https://flightaware.com/live/flight/QTR11