VCS/ProjectHelper.py

changeset 538
7f1a56e80124
parent 537
72b32daeb8d6
child 543
a558e3cb7b5a
--- a/VCS/ProjectHelper.py	Tue Aug 31 12:17:02 2010 +0200
+++ b/VCS/ProjectHelper.py	Tue Aug 31 12:36:10 2010 +0200
@@ -155,7 +155,7 @@
                 self.project.pdata["VCS"] = [vcsSystem]
                 self.project.vcs = self.project.initVCS(vcsSystem)
                 # edit VCS command options
-                vcores = QMessageBox.question(self.parent(),
+                vcores = E5MessageBox.question(self.parent(),
                     self.trUtf8("New Project"),
                     self.trUtf8("""Would you like to edit the VCS command options?"""),
                     QMessageBox.StandardButtons(\
@@ -212,7 +212,7 @@
                             self.project.setDirty(True)
                             self.project.saveProject()
                     else:
-                        res = QMessageBox.question(self.parent(),
+                        res = E5MessageBox.question(self.parent(),
                             self.trUtf8("New project from repository"),
                             self.trUtf8("The project retrieved from the repository"
                                 " does not contain an eric project file"
@@ -243,7 +243,7 @@
                                 self.project.saveProject()
                                 self.project.openProject(self.project.pfile)
                                 if not export:
-                                    res = QMessageBox.question(self.parent(),
+                                    res = E5MessageBox.question(self.parent(),
                                         self.trUtf8("New project from repository"),
                                         self.trUtf8("Shall the project file be added to"
                                             " the repository?"),
@@ -323,7 +323,7 @@
             if vcsdlg.exec_() == QDialog.Accepted:
                 vcsDataDict = vcsdlg.getData()
                 # edit VCS command options
-                vcores = QMessageBox.question(self.parent(),
+                vcores = E5MessageBox.question(self.parent(),
                     self.trUtf8("Import Project"),
                     self.trUtf8("""Would you like to edit the VCS command options?"""),
                     QMessageBox.StandardButtons(\
@@ -356,7 +356,7 @@
         """
         shouldReopen = self.vcs.vcsUpdate(self.project.ppath)
         if shouldReopen:
-            res = QMessageBox.question(self.parent(),
+            res = E5MessageBox.question(self.parent(),
                 self.trUtf8("Update"),
                 self.trUtf8("""The project should be reread. Do this now?"""),
                 QMessageBox.StandardButtons(\
@@ -383,7 +383,7 @@
         Depending on the parameters set in the vcs object the project
         may be removed from the local disk as well.
         """
-        res = QMessageBox.question(self.parent(),
+        res = E5MessageBox.question(self.parent(),
             self.trUtf8("Remove project from repository"),
             self.trUtf8("Dou you really want to remove this project from"
                 " the repository (and disk)?"),

eric ide

mercurial