diff -r 139f182b72f6 -r 8b507a9a2d40 E5Gui/E5Action.py --- a/E5Gui/E5Action.py Sun Mar 24 13:52:12 2013 +0100 +++ b/E5Gui/E5Action.py Mon Mar 25 03:11:06 2013 +0100 @@ -10,6 +10,8 @@ shortcuts. """ +from __future__ import unicode_literals # __IGNORE_WARNING__ + from PyQt4.QtGui import QAction, QActionGroup, QIcon, QKeySequence, qApp @@ -81,7 +83,7 @@ 7 + incr, len(args))) parent = args[4 + incr] - super().__init__(parent) + super(E5Action, self).__init__(parent) name = args[5 + incr] if name: self.setObjectName(name) @@ -145,7 +147,7 @@ @param shortcut the accelerator (QKeySequence) """ - super().setShortcut(shortcut) + super(E5Action, self).setShortcut(shortcut) self.__ammendToolTip() def setShortcuts(self, shortcuts): @@ -156,7 +158,7 @@ or key for a platform dependent list of accelerators (QKeySequence.StandardKey) """ - super().setShortcuts(shortcuts) + super(E5Action, self).setShortcuts(shortcuts) self.__ammendToolTip() def setIconText(self, text): @@ -165,7 +167,7 @@ @param text new icon text (string) """ - super().setIconText(text) + super(E5Action, self).setIconText(text) self.__ammendToolTip() def __ammendToolTip(self):