Rename enumerations to comply with Qt style