diff options
Diffstat (limited to 'k9vamps/k9vamps.h')
-rwxr-xr-x | k9vamps/k9vamps.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/k9vamps/k9vamps.h b/k9vamps/k9vamps.h index 8f0b945..b757db7 100755 --- a/k9vamps/k9vamps.h +++ b/k9vamps/k9vamps.h @@ -13,9 +13,9 @@ #define K9VAMPS_H #include "k9common.h" -#include <qfile.h> -#include <qthread.h> -#include <qobject.h> +#include <tqfile.h> +#include <tqthread.h> +#include <tqobject.h> #include <stdio.h> #include <errno.h> #include <stdarg.h> @@ -25,8 +25,8 @@ #include <getopt.h> #include <pthread.h> #include <sys/stat.h> -#include <qmutex.h> -#include <qwaitcondition.h> +#include <tqmutex.h> +#include <tqwaitcondition.h> #include "k9dvdbackup.h" #include "k9requant.h" #include "k9fifo.h" @@ -47,13 +47,13 @@ -class k9bgUpdate : public QThread +class k9bgUpdate : public TQThread { private: uchar * m_buffer; k9DVDBackup *m_backup; uint32_t m_size; - QMutex mutex; + TQMutex mutex; public: k9bgUpdate(k9DVDBackup * _backup); void update(uchar *_buffer, uint32_t size); @@ -65,7 +65,7 @@ protected: -class k9vamps:public QThread +class k9vamps:public TQThread { private: uchar *rbuf;// [RBUF_SIZE]; // the PS read buffer @@ -100,20 +100,20 @@ private: bool m_preserve; // preserve audio/spu track numbers float vap_fact; // vaporization factor from cmd line bool noData; - QMutex mutex; + TQMutex mutex; k9bgUpdate *m_bgUpdate; k9fifo m_fifo; - QString m_errMsg; + TQString m_errMsg; bool m_error; double avgdiff; double m_totfact,m_nbfact,m_avgfact; - QFile *m_output; + TQFile *m_output; private: // prototypes void vaporize (void); - void fatal (QString _msg); + void fatal (TQString _msg); int lock(int size); void copy(int size); void skip (int size); @@ -137,8 +137,8 @@ private: int readData(uchar *data,uint size); - QWaitCondition wDataRead; - QWaitCondition wDataReady; + TQWaitCondition wDataRead; + TQWaitCondition wDataReady; k9DVDBackup *m_dvdbackup; k9requant *m_requant; k9SaveImage *m_saveImage; @@ -155,9 +155,9 @@ public: void setInputSize(uint64_t size); void setVapFactor(float factor); void setSaveImage(k9SaveImage*); - void setOutput(QFile *_output); + void setOutput(TQFile *_output); uint64_t getOutputBytes(); - QString & geterrMsg(); + TQString & geterrMsg(); bool geterror(); void abort(); void setPreserve(bool _value); |