blob: 0bb960b7017c47ee0c57b15d93a59a9ff38bfd5c (
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
26
27
28
|
#include "titleloadjob.h"
#include <QWidget>
#include <QLabel>
TitleLoadJob::TitleLoadJob(Video *video) :
Job(video, false)
{
}
Video::Jobs TitleLoadJob::jobType() const
{
return Video::TitleLoad;
}
bool TitleLoadJob::executeJob()
{
//TODO: title load the whole thing
sleep(5);
emit completed(true);
return true;
}
QWidget* TitleLoadJob::gui()
{
//TODO: make a gui
return new QLabel("Bet your ass this is title loading.");
}
void TitleLoadJob::kill()
{
//TODO: implement terminating
}
|