Implement Qt keymapping.