libquentier 0.5.0
The library for rich desktop clients of Evernote service
Loading...
Searching...
No Matches
quentier::FileCopier Class Reference
Inheritance diagram for quentier::FileCopier:
Collaboration diagram for quentier::FileCopier:

Public Types

enum class  State { Idle = 0 , Copying , Cancelling }

Public Slots

void copyFile (QString sourcePath, QString destPath)
void cancel ()

Signals

void progressUpdate (double progress)
void finished (QString sourcePath, QString destPath)
void cancelled (QString sourcePath, QString destPath)
void notifyError (ErrorString error)

Public Member Functions

 FileCopier (QObject *parent=nullptr)
State state () const
QString sourceFilePath () const
QString destinationFilePath () const
double currentProgress () const

Friends

QDebug & operator<< (QDebug &dbg, const State state)
QTextStream & operator<< (QTextStream &strm, const State state)