Plugins/WizardPlugins/QRegExpWizard/QRegExpWizardDialog.py

changeset 53
c3eb7cc1ff8b
parent 45
9a18f4dbb493
child 55
b5c84934de9c
diff -r ba69827929ee -r c3eb7cc1ff8b Plugins/WizardPlugins/QRegExpWizard/QRegExpWizardDialog.py
--- a/Plugins/WizardPlugins/QRegExpWizard/QRegExpWizardDialog.py	Tue Jan 12 18:33:34 2010 +0000
+++ b/Plugins/WizardPlugins/QRegExpWizard/QRegExpWizardDialog.py	Tue Jan 12 18:36:05 2010 +0000
@@ -13,7 +13,7 @@
 from PyQt4.QtCore import *
 from PyQt4.QtGui import *
 
-from E4Gui.E4Application import e4App
+from E4Gui.E4Application import e5App
 
 from .Ui_QRegExpWizardDialog import Ui_QRegExpWizardDialog
 
@@ -76,7 +76,7 @@
         if fromEric:
             self.buttonBox.button(QDialogButtonBox.Close).hide()
             self.copyButton = None
-            uitype = e4App().getObject("Project").getProjectType()
+            uitype = e5App().getObject("Project").getProjectType()
         else:
             self.copyButton = \
                 self.buttonBox.addButton(self.trUtf8("Copy"), QDialogButtonBox.ActionRole)
@@ -529,4 +529,4 @@
         self.resize(size)
         
         self.connect(self.cw.buttonBox, SIGNAL("accepted()"), self.close)
-        self.connect(self.cw.buttonBox, SIGNAL("rejected()"), self.close)
+        self.connect(self.cw.buttonBox, SIGNAL("rejected()"), self.close)
\ No newline at end of file

eric ide

mercurial