diff -r 58dabebbe022 -r 907540e4f741 eric7/UI/FindFileWidget.py --- a/eric7/UI/FindFileWidget.py Fri Apr 29 09:31:46 2022 +0200 +++ b/eric7/UI/FindFileWidget.py Fri Apr 29 11:40:00 2022 +0200 @@ -248,9 +248,9 @@ self.__toggleReplaceMode() if searchDir: - self.setSearchDirectory(searchDir) + self.__setSearchDirectory(searchDir) if openFiles: - self.setOpenFiles() + self.__setOpenFiles() @pyqtSlot() def __toggleReplaceMode(self): @@ -762,9 +762,9 @@ dirs.remove(d) return files - def setSearchDirectory(self, searchDir): + def __setSearchDirectory(self, searchDir): """ - Public slot to set the name of the directory to search in. + Private slot to set the name of the directory to search in. @param searchDir name of the directory to search in @type str @@ -773,9 +773,9 @@ self.dirPicker.setEditText(Utilities.toNativeSeparators(searchDir)) @pyqtSlot() - def setOpenFiles(self): + def __setOpenFiles(self): """ - Public slot to set the mode to search in open files. + Private slot to set the mode to search in open files. """ self.openFilesButton.setChecked(True) @@ -897,3 +897,5 @@ cb = QApplication.clipboard() cb.setText(fn) + +# TODO: add separate dialog variant