21 #ifndef IMPORT_COPY_THREAD_H 22 #define IMPORT_COPY_THREAD_H 26 #include "ImportCache.h" 27 #include "Utils/Pimpl.h" 45 enum class Mode : uint8_t
51 CopyThread(
const QString& target_dir, ImportCachePtr cache, QObject *parent=
nullptr);
54 int get_n_copied_files()
const;
56 bool was_cancelled()
const;
61 void set_mode(CopyThread::Mode mode);
78 void emit_percent(
int i,
int n);
82 void sig_progress(
int);
The ImportCache class.
Definition: ImportCache.h:35
The CopyThread class.
Definition: CopyThread.h:37