summaryrefslogtreecommitdiffstats
path: root/src/k9titlefactor.h
blob: 6c1ba433e26f4ad921c17641a3446d619eac8372 (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
//
// C++ Interface: 
//
// Description: 
//
//
// Author: Jean-Michel PETIT <k9copy@free.fr>, (C) 2006
//
// Copyright: See COPYING file that comes with this distribution
//
//

#ifndef K9TITLEFACTOR_H
#define K9TITLEFACTOR_H

#include "k9common.h"
#include "titlefactor.h"
#include "k9dvd.h"
#include "k9dvdtitle.h"


class k9TitleFactor : public titleFactor
{
  TQ_OBJECT
  

public:
  k9TitleFactor(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
  ~k9TitleFactor(); 
  /*$PUBLIC_FUNCTIONS$*/
private :
  k9DVDTitle *m_current;
  k9DVD	     *m_dvd;
  bool	     m_slFactorPressed;
  bool	     m_withMenus;
  bool       m_useDvdAuthor;
  float	     m_factor;
  bool	     m_updating;
public slots:  
  /*$PUBLIC_SLOTS$*/
  virtual void          ckAutoClicked(bool _checked);
  virtual void          slFactorReleased();
  virtual void          slFactorPressed();
  virtual void          slFactor_valueChanged( int );
  virtual void 		SelectionChanged( k9DVD *_dvd,bool _withMenus);
  virtual void 		changedTitle(k9DVDTitle *_title);
  virtual void	        setUseDvdAuthor(bool _value);
protected:
  /*$PROTECTED_FUNCTIONS$*/
  void setMinFactor();
  float getFactor();

};

#endif