diff options
Diffstat (limited to 'libk9copy/k9titleencopt.h')
-rw-r--r-- | libk9copy/k9titleencopt.h | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/libk9copy/k9titleencopt.h b/libk9copy/k9titleencopt.h new file mode 100644 index 0000000..cb4cde3 --- /dev/null +++ b/libk9copy/k9titleencopt.h @@ -0,0 +1,87 @@ +// +// C++ Interface: k9titleencopt +// +// Description: +// +// +// Author: Jean-Michel PETIT <k9copy@free.fr>, (C) 2007 +// +// Copyright: See COPYING file that comes with this distribution +// +// +#ifndef K9TITLEENCOPT_H +#define K9TITLEENCOPT_H + +#include <qobject.h> + + +/** + @author Jean-Michel PETIT <k9copy@free.fr> +*/ + +class k9DVDTitle; + +class k9TitleEncOpt : public QObject +{ +Q_OBJECT +public: + k9TitleEncOpt(k9DVDTitle *parent ); + ~k9TitleEncOpt(); + k9DVDTitle *getTitle() { return (k9DVDTitle*)parent();}; + +public: + int getMaxSize(); + void setMaxSize(int); + + int getNumParts(); + void setNumParts(int); + + int getAudioGain(); + void setAudioGain(int); + + const QString & getWidth(); + void setWidth(QString); + + const QString & getHeight(); + void setHeight(QString); + + const QString & getAudioBr(); + void setAudioBr(QString); + + const QString & getVideoBr(); + void setVideoBr(QString); + + bool getKeepAspectRatio(); + void setKeepAspectRatio(bool); + + bool get2Passes(); + void set2Passes(bool); + + bool getUseCache(); + void setUseCache(bool); + + int getCodec(); + void setCodec(int); + + int getAudioCodec(); + void setAudioCodec(int); + + +private: + int m_maxSize; + int m_numParts; + QString m_width; + QString m_height; + bool m_keepAspectRatio; + bool m_2Passes; + QString m_audioBr,m_videoBr; + int m_codec,m_audioCodec; + int m_audioGain; + bool m_useCache; + +public slots: + void load(); + +}; + +#endif |