As I know legally you shall pay for entire contract period and the land lord will not be in need to return your cheque. But here the land lords will be very happy when they understand you are leaving since they can give to some one for higher rent. In addition they will get rent amount for one or two months from the date of vacating.(Free rent).

If you are lucky u will get back your cheques without any deduction. But remember u r in qatar.