Olive
Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
LoadThread Class Reference
Inheritance diagram for LoadThread:

Signals

void start_question (const QString &title, const QString &text, int buttons)
 
void success ()
 
void error ()
 
void start_create_effect_ui (QXmlStreamReader *stream, Clip *c, int type, const QString *effect_name, const EffectMeta *meta, long effect_length, bool effect_enabled)
 
void start_create_dual_transition (const TransitionData *td, Clip *primary, Clip *secondary, const EffectMeta *meta)
 
void report_progress (int p)
 

Public Member Functions

 LoadThread (LoadDialog *l, bool a)
 
void run ()
 
void cancel ()
 

Private Slots

void question_func (const QString &title, const QString &text, int buttons)
 
void error_func ()
 
void success_func ()
 
void create_effect_ui (QXmlStreamReader *stream, Clip *c, int type, const QString *effect_name, const EffectMeta *meta, long effect_length, bool effect_enabled)
 
void create_dual_transition (const TransitionData *td, Clip *primary, Clip *secondary, const EffectMeta *meta)
 

Private Member Functions

bool load_worker (QFile &f, QXmlStreamReader &stream, int type)
 
void load_effect (QXmlStreamReader &stream, Clip *c)
 
void read_next (QXmlStreamReader &stream)
 
void read_next_start_element (QXmlStreamReader &stream)
 
void update_current_element_count (QXmlStreamReader &stream)
 
bool is_element (QXmlStreamReader &stream)
 
Mediafind_loaded_folder_by_id (int id)
 

Private Attributes

LoadDialogld
 
bool autorecovery
 
Sequenceopen_seq
 
QVector< Media * > loaded_media_items
 
QDir proj_dir
 
QDir internal_proj_dir
 
QString internal_proj_url
 
bool show_err
 
QString error_str
 
QVector< Media * > loaded_folders
 
QVector< Clip * > loaded_clips
 
QVector< Media * > loaded_sequences
 
int current_element_count
 
int total_element_count
 
QMutex mutex
 
QWaitCondition waitCond
 
bool cancelled
 
bool xml_error
 
QMessageBox::StandardButton question_btn
 

The documentation for this class was generated from the following files: