21 #ifndef FILEOPERATIONS_H 22 #define FILEOPERATIONS_H 24 #include "Utils/Pimpl.h" 34 DirectoryCopyThread(QObject* parent, LibraryId target_library_id,
const QStringList& source_dirs,
const QString& target_dir);
37 LibraryId target_library()
const;
49 FileCopyThread(QObject* parent, LibraryId target_library_id,
const QStringList& source_files,
const QString& target_dir);
52 LibraryId target_library()
const;
64 void sig_copy_finished();
65 void sig_copy_started();
71 bool move_dirs(
const QStringList& source_dirs,
const QString& target_dir);
72 bool copy_dirs(
const QStringList& source_dirs,
const QString& target_dir);
73 bool rename_dir(
const QString& source_dir,
const QString& target_dir);
75 bool move_files(
const QStringList& files,
const QString& target_dir);
76 bool copy_files(
const QStringList& files,
const QString& target_dir);
78 bool rename_file(
const QString& old_name,
const QString& new_name);
81 void copy_dir_thread_finished();
82 void copy_file_thread_finished();
85 #endif // FILEOPERATIONS_H Definition: FileOperations.h:59
Definition: FileOperations.h:28
Definition: FileOperations.h:43