Handle PyQt4/PySide differences in action.triggered signature