Qantas is being accused by the Transport Workers Union of unlawfully outsourcing more than two and a half thousand jobs.