26 #include <QXmlStreamReader> 28 #include <QWaitCondition> 29 #include <QMessageBox> 47 void start_question(
const QString &title,
const QString &text,
int buttons);
50 void start_create_effect_ui(QXmlStreamReader* stream,
Clip* c,
int type,
const QString *effect_name,
const EffectMeta* meta,
long effect_length,
bool effect_enabled);
52 void report_progress(
int p);
54 void question_func(
const QString &title,
const QString &text,
int buttons);
57 void create_effect_ui(QXmlStreamReader* stream,
Clip* c,
int type,
const QString *effect_name,
const EffectMeta* meta,
long effect_length,
bool effect_enabled);
63 bool load_worker(QFile& f, QXmlStreamReader& stream,
int type);
64 void load_effect(QXmlStreamReader& stream,
Clip* c);
66 void read_next(QXmlStreamReader& stream);
67 void read_next_start_element(QXmlStreamReader& stream);
68 void update_current_element_count(QXmlStreamReader& stream);
71 QVector<Media*> loaded_media_items;
73 QDir internal_proj_dir;
74 QString internal_proj_url;
78 bool is_element(QXmlStreamReader& stream);
80 QVector<Media*> loaded_folders;
81 QVector<Clip*> loaded_clips;
82 QVector<Media*> loaded_sequences;
83 Media* find_loaded_folder_by_id(
int id);
85 int current_element_count;
86 int total_element_count;
89 QWaitCondition waitCond;
94 QMessageBox::StandardButton question_btn;
97 #endif // LOADTHREAD_H Definition: loadthread.h:39
Definition: sequence.h:33
Definition: loadthread.cpp:41
Definition: loaddialog.h:33