diff -r c712d09cc839 -r f6881d10e995 src/eric7/ViewManager/BookmarkedFilesDialog.py --- a/src/eric7/ViewManager/BookmarkedFilesDialog.py Fri Dec 22 13:57:47 2023 +0100 +++ b/src/eric7/ViewManager/BookmarkedFilesDialog.py Fri Dec 22 17:24:07 2023 +0100 @@ -27,8 +27,10 @@ """ Constructor - @param bookmarks list of bookmarked files (list of strings) - @param parent parent widget (QWidget) + @param bookmarks list of bookmarked files + @type list of str + @param parent parent widget + @type QWidget """ super().__init__(parent) self.setupUi(self) @@ -48,7 +50,8 @@ """ Private slot to handle the textChanged signal of the file edit. - @param txt the text of the file edit (string) + @param txt the text of the file edit + @type str """ self.addButton.setEnabled(txt != "") self.changeButton.setEnabled(txt != "" and self.filesList.currentRow() != -1) @@ -57,7 +60,8 @@ """ Private slot to set the lineedit depending on the selected entry. - @param row the current row (integer) + @param row the current row + @type int """ if row == -1: self.filePicker.clear() @@ -162,7 +166,8 @@ """ Public method to retrieve the tools list. - @return a list of filenames (list of strings) + @return a list of filenames + @rtype list of str """ return self.bookmarks @@ -170,8 +175,10 @@ """ Private method used two swap two list entries given by their index. - @param itm1 index of first entry (int) - @param itm2 index of second entry (int) + @param itm1 index of first entry + @type int + @param itm2 index of second entry + @type int """ tmp = self.bookmarks[itm1] self.bookmarks[itm1] = self.bookmarks[itm2]