summaryrefslogtreecommitdiffstats
path: root/tdefilereplace/tdefilereplacepart.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2015-01-30 16:44:45 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2015-01-30 16:44:45 +0900
commit23b906b576c51c02770bc9645c4b7291f5f3d6a7 (patch)
treef76f74ac49a49513a47a2c003e2113327a2d4072 /tdefilereplace/tdefilereplacepart.h
parent52c1190b1b96e88d17e1669993771192f1e3b724 (diff)
downloadtdeutils-23b906b576c51c02770bc9645c4b7291f5f3d6a7.tar.gz
tdeutils-23b906b576c51c02770bc9645c4b7291f5f3d6a7.zip
Fixed maxDepth option in search-n-replace in TDEFileRelace. This relates to bug 1238.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdefilereplace/tdefilereplacepart.h')
-rw-r--r--tdefilereplace/tdefilereplacepart.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdefilereplace/tdefilereplacepart.h b/tdefilereplace/tdefilereplacepart.h
index ee5352d..579f7ab 100644
--- a/tdefilereplace/tdefilereplacepart.h
+++ b/tdefilereplace/tdefilereplacepart.h
@@ -133,7 +133,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);