Cleanup some Qt3 code.