49 static bool localFileRename(
const QString& source,
50 const QString& orgPath,
51 const QString& destPath,
52 bool ignoreSettings =
false);
58 static void openFilesWithDefaultApplication(
const QList<QUrl>& urls);
64 static QUrl getUniqueFileUrl(
const QUrl& orgUrl,
bool*
const newurl =
nullptr);
70 static QUrl getUniqueFolderUrl(
const QUrl& orgUrl);
75 static void openInFileManager(
const QList<QUrl>& urls);
80 static bool copyFolderRecursively(
const QString& srcPath,
81 const QString& dstPath,
82 const QString& itemId = QString(),
83 bool*
const cancel =
nullptr,
84 bool useDstPath =
false);
89 static bool copyFiles(
const QStringList& srcPaths,
90 const QString& dstPath);
95 static bool renameFile(
const QString& srcFile,
96 const QString& dstFile);
101 static bool copyFile(
const QString& srcFile,
102 const QString& dstFile,
103 const bool*
const cancel =
nullptr);
110 static bool removeAndCopyFile(
const QString& srcFile,
111 const QString& dstFile);
116 static bool copyModificationTime(
const QString& srcFile,
117 const QString& dstFile);
122 static bool setModificationTime(
const QString& srcFile,
123 const QDateTime& dateTime);
130 static QString findExecutable(
const QString& name,
131 const QStringList& hints = QStringList());
137 static bool sidecarFiles(
const QString& srcFile,
138 const QString& dstFile,
139 SidecarAction action);