MultiProject/AddProjectDialog.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2791
a9577f248f04
parent 2992
dbdf27746da5
child 3060
5883ce99ee12
--- a/MultiProject/AddProjectDialog.py	Tue Oct 15 22:03:54 2013 +0200
+++ b/MultiProject/AddProjectDialog.py	Fri Oct 18 23:00:41 2013 +0200
@@ -68,32 +68,37 @@
                 self.trUtf8("Project Files (*.e4p)"))
         
         if projectFile:
-            self.filenameEdit.setText(Utilities.toNativeSeparators(projectFile))
+            self.filenameEdit.setText(
+                Utilities.toNativeSeparators(projectFile))
     
     def getData(self):
         """
         Public slot to retrieve the dialogs data.
         
-        @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 main project and a short description
-            for the project
+        @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 main project and a short
+            description for the project
         """
         return (self.nameEdit.text(), self.filenameEdit.text(),
                 self.masterCheckBox.isChecked(),
                 self.descriptionEdit.toPlainText())
     
     @pyqtSlot(str)
-    def on_nameEdit_textChanged(self, p0):
+    def on_nameEdit_textChanged(self, txt):
         """
         Private slot called when the project name has changed.
+        
+        @param txt text of the edit (string)
         """
         self.__updateUi()
     
     @pyqtSlot(str)
-    def on_filenameEdit_textChanged(self, p0):
+    def on_filenameEdit_textChanged(self, txt):
         """
         Private slot called when the project filename has changed.
+        
+        @param txt text of the edit (string)
         """
         self.__updateUi()
     

eric ide

mercurial