MultiProject/AddProjectDialog.py

changeset 945
8cd4d08fa9f6
parent 882
34b86be88bf0
child 1112
8a7d1b9d18db
diff -r 1b59c4ba121e -r 8cd4d08fa9f6 MultiProject/AddProjectDialog.py
--- a/MultiProject/AddProjectDialog.py	Fri Mar 11 08:55:14 2011 +0100
+++ b/MultiProject/AddProjectDialog.py	Fri Mar 11 16:51:57 2011 +0100
@@ -17,11 +17,12 @@
 
 import Utilities
 
+
 class AddProjectDialog(QDialog, Ui_AddProjectDialog):
     """
     Class implementing the add project dialog.
     """
-    def __init__(self, parent = None, startdir = None, project = None):
+    def __init__(self, parent=None, startdir=None, project=None):
         """
         Constructor
         
@@ -71,13 +72,13 @@
         """
         Public slot to retrieve the dialogs data.
         
-        @return tuple of four values (string, string, boolean, string) giving the 
+        @return tuple of four values (string, string, boolean, string) giving the
             project name, the name of the project file, a flag telling, whether
             the project shall be the master project and a short description
             for the project
         """
-        return (self.nameEdit.text(), self.filenameEdit.text(), 
-                self.masterCheckBox.isChecked(), 
+        return (self.nameEdit.text(), self.filenameEdit.text(),
+                self.masterCheckBox.isChecked(),
                 self.descriptionEdit.toPlainText())
     
     @pyqtSlot(str)

eric ide

mercurial