summaryrefslogtreecommitdiffstats
path: root/libk9copy/k9titleencopt.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-17 00:32:19 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-17 00:32:19 +0000
commit0d382a262c0638d0f572fc37193ccc5ed3dc895f (patch)
tree8578dcddfce4191f3f7a142a37769df7add48475 /libk9copy/k9titleencopt.h
downloadk9copy-0d382a262c0638d0f572fc37193ccc5ed3dc895f.tar.gz
k9copy-0d382a262c0638d0f572fc37193ccc5ed3dc895f.zip
Added old abandoned version of k9copy
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1091546 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libk9copy/k9titleencopt.h')
-rw-r--r--libk9copy/k9titleencopt.h87
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