summaryrefslogtreecommitdiffstats
path: root/libk9copy/k9titleencopt.h
blob: b18729e86f00e747c46f632653e173c04b8d6cce (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
//
// 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 <tqobject.h>


/**
	@author Jean-Michel PETIT <k9copy@free.fr>
*/

class k9DVDTitle;

class k9TitleEncOpt : public TQObject
{
TQ_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 TQString & getWidth();
   void setWidth(TQString);
   
   const TQString & getHeight();
   void setHeight(TQString);
   
   const TQString & getAudioBr();
   void setAudioBr(TQString);

   const TQString & getVideoBr();
   void setVideoBr(TQString);
   
   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;
   TQString m_width;
   TQString m_height;
   bool m_keepAspectRatio;
   bool m_2Passes;
   TQString m_audioBr,m_videoBr;
   int m_codec,m_audioCodec;
   int m_audioGain;
   bool m_useCache;
   
public slots:
   void load();
   
};

#endif