Qt4 - Use enum instead of defines.