summaryrefslogtreecommitdiffstats
path: root/k9author/k9avidecode.h
diff options
context:
space:
mode:
Diffstat (limited to 'k9author/k9avidecode.h')
-rw-r--r--k9author/k9avidecode.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/k9author/k9avidecode.h b/k9author/k9avidecode.h
index 53f6029..67614a3 100644
--- a/k9author/k9avidecode.h
+++ b/k9author/k9avidecode.h
@@ -13,7 +13,7 @@
#define K9AVIDECODE_H
#include "k9common.h"
-#include <qobject.h>
+#include <tqobject.h>
#ifdef OLD_FFMPEG
#include <ffmpeg/avformat.h>
#endif
@@ -22,7 +22,7 @@
#endif
-#include <qimage.h>
+#include <tqimage.h>
/**
@author Jean-Michel PETIT <k9copy@free.fr>
@@ -54,23 +54,24 @@ typedef void (*avcodec_flush_buffers_t)(AVCodecContext *);
-class k9AviDecode : public QObject
+class k9AviDecode : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
- k9AviDecode(QObject *parent = 0, const char *name = 0);
+ k9AviDecode(TQObject *tqparent = 0, const char *name = 0);
~k9AviDecode();
- bool open(const QString & _fileName);
+ bool open(const TQString & _fileName);
void readFrame(double _seconds);
void seek(double _seconds);
void close();
double getDuration() const;
bool opened() const;
- QString getFileName() const;
+ TQString getFileName() const;
- QString getError() const;
+ TQString getError() const;
private:
av_register_all_t av_register_all;
@@ -102,11 +103,11 @@ private:
int m_videoStream;
bool m_opened;
double m_duration;
- QString m_fileName;
- QString m_error;
+ TQString m_fileName;
+ TQString m_error;
void SaveFrame(AVFrame *pFrame, int width, int height);
signals:
- void drawFrame(QImage*);
+ void drawFrame(TQImage*);
};
#endif