Emergency declared over Qld flood threat