summaryrefslogtreecommitdiff
path: root/src/filerenamer.h
diff options
context:
space:
mode:
authorChris Bessent <lost.dragonist@gmail.com>2020-01-06 05:17:01 -0700
committerGitHub <noreply@github.com>2020-01-06 05:17:01 -0700
commitdfa600996c49c1b23dca884c963dc917bd9cfc0a (patch)
treec6def4277cc962822d0dcde71fa9148e050f693f /src/filerenamer.h
parente69078e2399a88bda7bb9ffae7a3d57db9a4e9cf (diff)
parentd1a788dfad341b32235abc25c2ba1645f8be1ace (diff)
Merge pull request #954 from ModOrganizer2/Develop
Stage for release 2.2.2
Diffstat (limited to 'src/filerenamer.h')
-rw-r--r--src/filerenamer.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/filerenamer.h b/src/filerenamer.h
index cd57244c..5583ecbd 100644
--- a/src/filerenamer.h
+++ b/src/filerenamer.h
@@ -3,6 +3,8 @@
#include <QWidget>
+namespace MOBase::shell { class Result; }
+
/**
* Renames individual files and handles dialog boxes to confirm replacements and
* failures with the user
@@ -126,7 +128,7 @@ private:
* @param name The name of the file that failed to be removed
* @return true to continue, false to stop
**/
- bool removeFailed(const QString& name);
+ bool removeFailed(const QString& name, const MOBase::shell::Result& r);
/**
* renaming a file failed, ask the user to continue or cancel
@@ -134,7 +136,9 @@ private:
* @param newName new filename
* @return true to continue, false to stop
**/
- bool renameFailed(const QString& oldName, const QString& newName);
+ bool renameFailed(
+ const QString& oldName, const QString& newName,
+ const MOBase::shell::Result& r);
};
#endif // FILERENAMER_H