def METHOD_NAME(self, ev):
    if int(Qt.ControlModifier & ev.modifiers()) > 0:
        if ev.key() == Qt.Key_Slash:
            self.comment(True)
            return
        elif ev.key() == Qt.Key_Question:
            self.comment(False)
            return
        elif (ev.key() == Qt.Key_Z and
              Qt.ShiftModifier & ev.modifiers()):
            self.redo()
            return
        elif ev.key() == Qt.Key_Q:
            sys.exit(0)
    return super(Editor, self).METHOD_NAME(ev)