Novel laser Q-switching mechanism