Plugins/PluginWizardPyRegExp.py

changeset 55
b5c84934de9c
parent 53
c3eb7cc1ff8b
child 117
d63640116aec
--- a/Plugins/PluginWizardPyRegExp.py	Tue Jan 12 18:39:15 2010 +0000
+++ b/Plugins/PluginWizardPyRegExp.py	Wed Jan 13 18:53:58 2010 +0000
@@ -10,8 +10,8 @@
 from PyQt4.QtCore import QObject, SIGNAL
 from PyQt4.QtGui import QDialog, QMessageBox
 
-from E4Gui.E4Application import e5App
-from E4Gui.E4Action import E4Action
+from E5Gui.E5Application import e5App
+from E5Gui.E5Action import E5Action
 
 from WizardPlugins.PyRegExpWizard.PyRegExpWizardDialog import \
     PyRegExpWizardDialog
@@ -62,13 +62,13 @@
         menu = self.__ui.getMenu("wizards")
         if menu:
             menu.removeAction(self.action)
-        self.__ui.removeE4Actions([self.action], 'wizards')
+        self.__ui.removeE5Actions([self.action], 'wizards')
     
     def __initAction(self):
         """
         Private method to initialize the action.
         """
-        self.action = E4Action(self.trUtf8('Python re Wizard'),
+        self.action = E5Action(self.trUtf8('Python re Wizard'),
              self.trUtf8('&Python re Wizard...'), 0, 0, self,
              'wizards_python_re')
         self.action.setStatusTip(self.trUtf8('Python re Wizard'))
@@ -80,7 +80,7 @@
         ))
         self.connect(self.action, SIGNAL('triggered()'), self.__handle)
         
-        self.__ui.addE4Actions([self.action], 'wizards')
+        self.__ui.addE5Actions([self.action], 'wizards')
 
     def __initMenu(self):
         """

eric ide

mercurial