libquentier 0.5.0
The library for rich desktop clients of Evernote service
Loading...
Searching...
No Matches
Public Types | Public Slots | Signals | Public Member Functions | Friends | List of all members
quentier::FileCopier Class Reference
Inheritance diagram for quentier::FileCopier:
Inheritance graph
[legend]
Collaboration diagram for quentier::FileCopier:
Collaboration graph
[legend]

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)