Remove Qt deprecated code (closes #397).