altered behavior of the 'move' operation
[case] / src / fileoperator.h
index 9e2dcfb..1604b9e 100644 (file)
@@ -84,14 +84,15 @@ protected:
     void processFiles(const QFileInfoList &files);
     virtual void perform(const QFileInfo &file) = 0;
 
-    bool remove(QString &fileName, const bool ignoreDirNotEmpty = false);
-    bool remove(const QFileInfoList &files, const bool ignoreDirNotEmpty = false);
-    bool remove(const QFileInfo &file, const bool ignoreDirNotEmpty = false);
+    bool remove(QString &fileName, const bool doUpdates = false);
+    bool remove(const QFileInfoList &files, const bool doUpdates = false);
+    bool remove(const QFileInfo &file, const bool doUpdates = false);
 
-    void copy(const QFileInfo &file, const bool removeAfterCopy);
+    void copy(const QFileInfo &file);
 
-    unsigned int countFiles(const QFileInfoList &files);
-    unsigned int calculateFileSize(const QFileInfoList &files);
+    unsigned int calculateFileSize(const QFileInfoList &files,
+        const bool count = false,
+        const bool addSize = false);
 
     QFileInfoList listDirFiles(const QString &dirPath);