diff options
Diffstat (limited to 'tdefilereplace/tdefilereplacepart.h')
-rw-r--r-- | tdefilereplace/tdefilereplacepart.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tdefilereplace/tdefilereplacepart.h b/tdefilereplace/tdefilereplacepart.h index 0ca917e0..34a91dae 100644 --- a/tdefilereplace/tdefilereplacepart.h +++ b/tdefilereplace/tdefilereplacepart.h @@ -42,8 +42,9 @@ class TDEFileReplacePart: public KParts::ReadOnlyPart TDEAboutApplication* m_aboutDlg; KeyValueMap m_replacementMap; RCOptions* m_option; - bool m_stop, - m_searchingOperation; + bool m_stop; + bool m_searchingOperation; + bool m_circ_ref_warning_shown; int m_optionMask; public://Constructors @@ -133,7 +134,7 @@ class TDEFileReplacePart: public KParts::ReadOnlyPart * Replacing methods */ void fileReplace(); - void recursiveFileReplace(const TQString& dirName, int& filesNumber); + void recursiveFileReplace(const TQString& dirName, int& filesNumber, int depth); void replaceAndBackup(const TQString& currentDir, const TQString& oldFileName); void replaceAndOverwrite(const TQString& currentDir, const TQString& oldFileName); void replacingLoop(TQString& line, TDEListViewItem** item, bool& atLeastOneStringFound, int& occur, bool regularExpression, bool& askConfirmReplace); @@ -142,7 +143,7 @@ class TDEFileReplacePart: public KParts::ReadOnlyPart * Searching methods */ void fileSearch(const TQString& dirName, const TQString& filters); - void recursiveFileSearch(const TQString& dirName, const TQString& filters, uint& filesNumber); + void recursiveFileSearch(const TQString& dirName, const TQString& filters, uint& filesNumber, int depth); void search(const TQString& currentDir, const TQString& fileName); /** |