blob: 717c3f2210c7b2a6653060c6c41073e13e27a135 (
plain)
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
32
33
34
35
36
37
38
39
|
#ifndef CHOOSEDVD_H
#define CHOOSEDVD_H
#include <QtGui>
#include "ui_scanwidget.h"
class ClickedField : public QObject
{
Q_OBJECT
public:
ClickedField(QRadioButton *b, QObject *parent = 0);
protected:
bool eventFilter(QObject *, QEvent *);
QRadioButton *rb;
};
class ScanWidget : public QWidget, private Ui::ScanWidget
{
Q_OBJECT
public:
ScanWidget(QWidget *parent = 0);
QMap<QString, QString> *volumeList();
signals:
void scanDVD(const QString path);
void scanningDone();
public slots:
void goScan();
void updateVolumeList(QString);
void setProgress(int value, int maximum);
void setFolder();
private:
QMap<QString, QString> *devices;
};
#endif // CHOOSEDRIVE_H
|