diff options
author | clee <clee@kde.org> | 2007-03-29 09:31:13 +0000 |
---|---|---|
committer | clee <clee@kde.org> | 2007-03-29 09:31:13 +0000 |
commit | ceb981ea2c7406fac18dee17382976428a12b374 (patch) | |
tree | d8f421576aff6d75e0e4e82e2a3833437af2233b /qt4/qhandbrake.h | |
parent | 42b83d67aac7b196b636f8d3b77be5017676fa3b (diff) |
Importing the first (very much not-yet-ready-for-primetime) version of the Qt4 GUI for HandBrake into trunk.
Note: This is NOT fit for release yet.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@462 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'qt4/qhandbrake.h')
-rw-r--r-- | qt4/qhandbrake.h | 30 |
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 |