#include "titleloadjob.h" #include #include TitleLoadJob::TitleLoadJob(Video *video, QString subtitlePath, QString posterPath) : Job(video), m_subtitlePath(subtitlePath), m_posterPath(posterPath) { } Video::Jobs TitleLoadJob::jobType() const { return Video::TitleLoad; } bool TitleLoadJob::executeJob() { //TODO: title load the whole thing sleep(5); return true; } QWidget* TitleLoadJob::gui() { //TODO: make a gui return new QLabel("Bet your ass this is title loading."); }