21 #ifndef IMPORT_COPY_THREAD_H 22 #define IMPORT_COPY_THREAD_H 26 #include "ImportCache.h" 27 #include "Utils/Pimpl.h" 44 enum class Mode : uint8_t
50 CopyThread(
const QString& target_dir, ImportCachePtr cache, QObject *parent=
nullptr);
53 int get_n_copied_files()
const;
55 bool was_cancelled()
const;
60 void set_mode(CopyThread::Mode mode);
75 void emit_percent(
int i,
int n);
79 void sig_progress(
int);
An interface class needed when implementing a library plugin.
Definition: LocalLibraryWatcher.h:32
The CopyThread class.
Definition: CopyThread.h:37