Fixed QEvent enum reference for PyQt.