TMSOTf-catalyzed synthesis of substituted quinazolines using hexamethyldisilazane as a nitrogen source under neat and microwave irradiation conditions.