summaryrefslogtreecommitdiffstats
path: root/qt4/qhandbrake.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt4/qhandbrake.h')
-rw-r--r--qt4/qhandbrake.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/qt4/qhandbrake.h b/qt4/qhandbrake.h
new file mode 100644
index 000000000..35e4dcb6e
--- /dev/null
+++ b/qt4/qhandbrake.h
@@ -0,0 +1,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