20#ifndef LIBREPCB_CORE_ASYNCCOPYOPERATION_H
21#define LIBREPCB_CORE_ASYNCCOPYOPERATION_H
51 QObject* parent =
nullptr) noexcept;
71 void abort() noexcept;
85 void run() noexcept override;
High-level helper class to asynchronously and recursively copy directories with progress indicator.
Definition: asynccopyoperation.h:43
void run() noexcept override
Definition: asynccopyoperation.cpp:63
FilePath mDestination
Definition: asynccopyoperation.h:89
volatile bool mAbort
Definition: asynccopyoperation.h:90
FilePath mSource
Definition: asynccopyoperation.h:88
AsyncCopyOperation(const AsyncCopyOperation &other)=delete
const FilePath & getSource() const noexcept
Definition: asynccopyoperation.h:55
void progressPercent(int percent)
AsyncCopyOperation()=delete
void progressStatus(const QString &status)
void abort() noexcept
Abort a running copy operation.
Definition: asynccopyoperation.cpp:53
const FilePath & getDestination() const noexcept
Definition: asynccopyoperation.h:56
void failed(const QString &error)
This class represents absolute, well-formatted paths to files or directories.
Definition: filepath.h:129
Definition: occmodel.cpp:77