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

#include <QWidget>
#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;
	QPushButton *m_currentlyInserted;
	VideoQueue *m_queue;
	void addVideo(Video *video);
private slots:
	void dvdAdded();
	void dvdRemoved();
	void newVideoFromDVD();
	void runningJob(Job *job);
	void completedJob(bool success);
};

#endif // MAINWINDOW_H