blob: 35e4dcb6e9f9b1c818aed857a71842de6c3474a4 (
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
|
#ifndef QHANDBRAKE_H
#define QHANDBRAKE_H
#include <QtGui>
#include "hb.h"
class QHandBrake : public QObject {
Q_OBJECT
public:
QHandBrake(QObject *parent = 0);
~QHandBrake();
QStandardItemModel *titleListModel();
signals:
void scanProgress(int cur, int total);
public slots:
void startScan(const QString sDevice);
void encode();
private:
hb_handle_t *hbHandle;
hb_title_t *hbTitle;
QStandardItemModel *titleModel;
};
#endif // QHANDBRAKE_H
|