24 #ifndef DIGIKAM_DFILE_OPERATIONS_H
25 #define DIGIKAM_DFILE_OPERATIONS_H
32 #include <QStringList>
50 static bool localFileRename(
const QString& source,
51 const QString& orgPath,
52 const QString& destPath,
53 bool ignoreSettings =
false);
59 static void openFilesWithDefaultApplication(
const QList<QUrl>& urls);
65 static QUrl getUniqueFileUrl(
const QUrl& orgUrl,
bool*
const newurl =
nullptr);
71 static QUrl getUniqueFolderUrl(
const QUrl& orgUrl);
76 static void openInFileManager(
const QList<QUrl>& urls);
81 static bool copyFolderRecursively(
const QString& srcPath,
82 const QString& dstPath,
83 const QString& itemId = QString(),
84 bool*
const cancel =
nullptr,
85 bool countTotal =
true);
90 static bool copyFiles(
const QStringList& srcPaths,
91 const QString& dstPath);
96 static bool renameFile(
const QString& srcFile,
97 const QString& dstFile);
102 static bool copyFile(
const QString& srcFile,
103 const QString& dstFile);
108 static bool copyModificationTime(
const QString& srcFile,
109 const QString& dstFile);
114 static bool setModificationTime(
const QString& srcFile,
115 const QDateTime& dateTime);
Definition: dfileoperations.h:42
Definition: datefolderview.cpp:43