use new-style for PyQt as well as PySide