summaryrefslogtreecommitdiffstats
path: root/k9author/k9chapteredit.h
blob: 3d1a1b2385fb7c8855b0685bebf0f714ecea6080 (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
//
// C++ Interface: 
//
// Description: 
//
//
// Author: Jean-Michel PETIT <[email protected]>, (C) 2007
//
// Copyright: See COPYING file that comes with this distribution
//
//

#ifndef K9CHAPTEREDIT_H
#define K9CHAPTEREDIT_H

#include "k9common.h"
#include "../k9author/chapterEdit.h"
#include "k9avidecode.h"
#include "k9avifile.h"

class k9DrawImage;
class k9ChapterEdit : public chapterEdit
{
  TQ_OBJECT
  

public:
  k9ChapterEdit(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
  ~k9ChapterEdit();
  /*$PUBLIC_FUNCTIONS$*/

public slots:
  /*$PUBLIC_SLOTS$*/
private:
  k9AviDecode m_aviDecode;
  k9DrawImage *m_wimage;
  k9AviFile *m_aviFile;
  TQTime m_minTime,m_maxTime;
  bool m_noUpdate;
  TQImage m_image;
protected:
  /*$PROTECTED_FUNCTIONS$*/
  virtual void sliderReleased();
  virtual void sliderChanged();
  virtual void bStartClick();
  virtual void bEndClick();
  virtual void ckBreakStartClick();
  virtual void ckBreakEndClick();
  virtual void urlSelected(const TQString&);
  virtual void startChanged(const TQTime&);
  virtual void endChanged(const TQTime&);
  virtual void bTitleButtonClick();
protected slots:
  /*$PROTECTED_SLOTS$*/
  void drawImage(TQImage *);
public slots:
  void setAviFile(k9AviFile *_aviFile);
};

#endif