diff -r 643989a1e2bd -r e440aaf179ce src/eric7/Project/AddDirectoryDialog.py --- a/src/eric7/Project/AddDirectoryDialog.py Wed Dec 20 15:42:44 2023 +0100 +++ b/src/eric7/Project/AddDirectoryDialog.py Wed Dec 20 19:28:22 2023 +0100 @@ -27,10 +27,15 @@ Constructor @param pro reference to the project object - @param fileTypeFilter file type filter (string) - @param parent parent widget of this dialog (QWidget) - @param name name of this dialog (string) + @type Project + @param fileTypeFilter file type filter + @type str + @param parent parent widget of this dialog + @type QWidget + @param name name of this dialog + @type str @param startdir start directory for the selection dialog + @type str """ super().__init__(parent) if name: @@ -92,7 +97,8 @@ It is assumed, that the user wants to add a bunch of files to the project in place. - @param directory the text of the source directory line edit (string) + @param directory the text of the source directory line edit + @type str """ if directory.startswith(self.__project.getProjectPath()): self.targetDirPicker.setText(directory) @@ -101,9 +107,9 @@ """ Public slot to retrieve the dialogs data. - @return tuple of four values (string, string, string, boolean) giving - the selected file type, the source and target directory and - a flag indicating a recursive add + @return tuple of four values giving the selected file type, the source + and target directory and a flag indicating a recursive add + @rtype tuple of (str, str, str, bool) """ filetype = self.filterComboBox.itemData(self.filterComboBox.currentIndex()) return (