Sayonara Player
Public Types | Signals | Public Member Functions | Protected Attributes | List of all members
CopyThread Class Reference

Public Types

enum  Mode : quint8 {
  Copy =0,
  Rollback
}
 

Signals

void sig_progress (int)
 

Public Member Functions

 CopyThread (const QString &target_dir, const ImportCache &cache, QObject *parent=nullptr)
 
int get_n_copied_files () const
 
bool was_cancelled () const
 
void cancel ()
 
MetaDataList get_copied_metadata () const
 
void set_mode (CopyThread::Mode mode)
 
CopyThread::Mode get_mode () const
 

Protected Attributes

Settings_settings =nullptr
 
Inheritance diagram for CopyThread:
SayonaraClass