diff options
Diffstat (limited to 'libk9copy/k9saveimage.h')
-rw-r--r-- | libk9copy/k9saveimage.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/libk9copy/k9saveimage.h b/libk9copy/k9saveimage.h index 9733577..e37aa1d 100644 --- a/libk9copy/k9saveimage.h +++ b/libk9copy/k9saveimage.h @@ -13,13 +13,13 @@ #define K9SAVEIMAGE_H #include "k9common.h" -#include <qthread.h> -#include <qobject.h> -#include <qdatetime.h> +#include <tqthread.h> +#include <tqobject.h> +#include <tqdatetime.h> #include "k9fifo.h" #include <ktempfile.h> -#include <qimage.h> +#include <tqimage.h> /** @@ -29,9 +29,10 @@ typedef enum { FrameType_B=0x18,FrameType_I=0x08,FrameType_P=0x10,FrameType_D=0 class kDecMPEG2; -class k9SaveImage : public QObject,QThread +class k9SaveImage : public TQObject,TQThread { Q_OBJECT + TQ_OBJECT public: k9SaveImage(); ~k9SaveImage(); @@ -42,19 +43,19 @@ public: protected: void run(); public slots: - void drawImage(QImage*); + void drawImage(TQImage*); private: kDecMPEG2 *m_decoder; k9fifo m_fifo; bool m_stop; - QTime m_timer; + TQTime m_timer; uint m_cpt; KTempFile *m_tempFile; uchar *m_buffer; uint32_t m_size; - QMutex m_mutex; - QImage m_image; + TQMutex m_mutex; + TQImage m_image; }; #endif |