summaryrefslogtreecommitdiffstats
path: root/uploadjob.cpp
blob: 786ce5200e89052ba818e3f088614f57834d189b (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
#include "uploadjob.h"
#include <QWidget>
#include <QLabel>

UploadJob::UploadJob(Video *video) :
		Job(video, false)
{
}
Video::Jobs UploadJob::jobType() const
{
	return Video::Upload;
}
bool UploadJob::executeJob()
{
	//TODO: upload the mp4!
	sleep(5);
	return true;
}
QWidget* UploadJob::gui()
{
	//TODO: make a gui
	return new QLabel("Endoplasmic sludge in your upload house");
}
void UploadJob::terminate()
{
	//TODO: implement terminating
}