Reordered types to reflect Qt enums