diff -r ba69827929ee -r c3eb7cc1ff8b Plugins/PluginWizardQRegExp.py --- a/Plugins/PluginWizardQRegExp.py Tue Jan 12 18:33:34 2010 +0000 +++ b/Plugins/PluginWizardQRegExp.py Tue Jan 12 18:36:05 2010 +0000 @@ -10,7 +10,7 @@ from PyQt4.QtCore import QObject, SIGNAL from PyQt4.QtGui import QDialog, QMessageBox -from E4Gui.E4Application import e4App +from E4Gui.E4Application import e5App from E4Gui.E4Action import E4Action from WizardPlugins.QRegExpWizard.QRegExpWizardDialog import \ @@ -113,7 +113,7 @@ """ Private method to handle the wizards action """ - editor = e4App().getObject("ViewManager").activeWindow() + editor = e5App().getObject("ViewManager").activeWindow() if editor == None: QMessageBox.critical(None, @@ -126,4 +126,4 @@ # It should be done on this way to allow undo editor.beginUndoAction() editor.insertAt(code, line, index) - editor.endUndoAction() + editor.endUndoAction() \ No newline at end of file