Synthesis of 3-[4'-(p-chlorophenyl)-thiazol-2'-yl]-2-[(substituted azetidinone/thiazolidinone)-aminomethyl]-6-bromoquinazolin-4-ones as anti-inflammatory agent.