summaryrefslogtreecommitdiffstats
path: root/mainwindow.h
blob: f2f0af7940a5a83389b28c6f15da6c2bd03e3b21 (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(QString name, QMap<int, QString> titles);
	void newVideoFromImage(const QString &path, const QString &name);
	void runningJob(Job *job);
	void completedJob(bool success);
};

#endif // MAINWINDOW_H