summaryrefslogtreecommitdiffstats
path: root/mainwindow.h
blob: a24dc5b208f22d062339d348bf20e7aefff08afd (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
29
30
#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QWidget>
#include <QMap>
#include "dvddrive.h"
class QVBoxLayout;
class QPushButton;
class Video;
class VideoQueue;
class Job;

class MainWindow : public QWidget
{
	Q_OBJECT
public:
	MainWindow();
private:
	QVBoxLayout *m_videoGuis;
	QVBoxLayout *m_jobGuis;
	VideoQueue *m_queue;
	void addVideo(Video *video);
private slots:
	void newVideoFromDVD(const QString &name, QMap<int, QString> titles);
	void newVideoFromImage(const QString &path, const QString &name, QMap<int, QString> titles);
	void runningJob(Job *job);
	void completedJob(bool success);
};

#endif // MAINWINDOW_H