21 #ifndef IMPORT_COPY_THREAD_H 22 #define IMPORT_COPY_THREAD_H 26 #include "ImportCache.h" 27 #include "Utils/Pimpl.h" 47 enum class Mode : uint8_t
53 CopyThread(
const QString& target_dir, ImportCachePtr cache, QObject *parent=
nullptr);
56 int get_n_copied_files()
const;
58 bool was_cancelled()
const;
63 void set_mode(CopyThread::Mode mode);
78 void emit_percent(
int i,
int n);
82 void sig_progress(
int);
An interface class needed when implementing a library plugin.
Definition: CachingThread.h:31
The CopyThread class.
Definition: CopyThread.h:40