blob: d0c613c948f6ce15f8aaed9370c47bed1ec6b8bd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#include "titleloadjob.h"
#include <QWidget>
#include <QLabel>
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.");
}
|