summaryrefslogtreecommitdiffstats
path: root/tdefilereplace/tdefilereplacepart.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2015-02-02 10:57:04 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2015-02-02 10:57:04 +0900
commitc9fa04f0848147a4a5cc0210b6f2ed9f7ae8e3fd (patch)
treef5438bbcdc0e7b734b39a0147144a4fbbfd3f40d /tdefilereplace/tdefilereplacepart.h
parentd7398464a997bcb02e0900728365d74c5105d443 (diff)
downloadtdeutils-c9fa04f0848147a4a5cc0210b6f2ed9f7ae8e3fd.tar.gz
tdeutils-c9fa04f0848147a4a5cc0210b6f2ed9f7ae8e3fd.zip
TDEFileReplace: added 'scanned folders' field in the status bar. This relates to bug 2264.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdefilereplace/tdefilereplacepart.h')
-rw-r--r--tdefilereplace/tdefilereplacepart.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/tdefilereplace/tdefilereplacepart.h b/tdefilereplace/tdefilereplacepart.h
index 34a91da..27ad916 100644
--- a/tdefilereplace/tdefilereplacepart.h
+++ b/tdefilereplace/tdefilereplacepart.h
@@ -134,16 +134,18 @@ class TDEFileReplacePart: public KParts::ReadOnlyPart
* Replacing methods
*/
void fileReplace();
- void recursiveFileReplace(const TQString& dirName, int& filesNumber, int depth);
+ void recursiveFileReplace(const TQString &directoryName, int &foldersNumber, 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);
+ void replacingLoop(TQString& line, TDEListViewItem** item, bool& atLeastOneStringFound, int& occur,
+ bool regularExpression, bool& askConfirmReplace);
/**
* Searching methods
*/
void fileSearch(const TQString& dirName, const TQString& filters);
- void recursiveFileSearch(const TQString& dirName, const TQString& filters, uint& filesNumber, int depth);
+ void recursiveFileSearch(const TQString &dirName, const TQString &filters, int &foldersNumber,
+ int &filesNumber, int depth);
void search(const TQString& currentDir, const TQString& fileName);
/**