39 explicit FileCopier(QObject * parent =
nullptr);
48 friend QDebug & operator<<(QDebug & dbg,
const State state);
49 friend QTextStream & operator<<(QTextStream & strm,
const State state);
53 QString sourceFilePath()
const;
54 QString destinationFilePath()
const;
56 double currentProgress()
const;
59 void progressUpdate(
double progress);
60 void finished(QString sourcePath, QString destPath);
61 void cancelled(QString sourcePath, QString destPath);
65 void copyFile(QString sourcePath, QString destPath);
72 FileCopierPrivate * d_ptr;