adding Qt class.