summaryrefslogtreecommitdiffstats
path: root/k9decmpeg/k9plaympeg2.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 23:37:00 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 23:37:00 +0000
commitb0e912c8b3d02a518fedda28c3180eb4794a7520 (patch)
tree07d344862562fab58cbe2df39d13d16f2e4d2bea /k9decmpeg/k9plaympeg2.h
parent4d695ec81fe4d4335ee82c7a9346ad9c9e144ecc (diff)
downloadk9copy-b0e912c8b3d02a518fedda28c3180eb4794a7520.tar.gz
k9copy-b0e912c8b3d02a518fedda28c3180eb4794a7520.zip
TQt4 convert k9copy
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1233843 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'k9decmpeg/k9plaympeg2.h')
-rw-r--r--k9decmpeg/k9plaympeg2.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/k9decmpeg/k9plaympeg2.h b/k9decmpeg/k9plaympeg2.h
index 2b431e8..28a2f19 100644
--- a/k9decmpeg/k9plaympeg2.h
+++ b/k9decmpeg/k9plaympeg2.h
@@ -16,32 +16,33 @@
#include "k9dvdtitle.h"
-#include <qthread.h>
-#include <qobject.h>
-#include <qmutex.h>
-#include <qwidget.h>
+#include <tqthread.h>
+#include <tqobject.h>
+#include <tqmutex.h>
+#include <tqwidget.h>
#include "k9decodethread.h"
/**
@author Jean-Michel PETIT <k9copy@free.fr>
*/
-class k9PlayMPEG2 : public QObject,public QThread
+class k9PlayMPEG2 : public TQObject,public TQThread
{
Q_OBJECT
+ TQ_OBJECT
private:
k9DVDTitle *m_title;
- QString m_device;
+ TQString m_device;
k9DecodeThread m_decoder;
uint32_t m_idxLect;
uint32_t m_startSector;
uint32_t m_lastSector;
bool m_stopped;
dvd_file_t *dvdfile;
- QMutex mutex;
+ TQMutex mutex;
dvd_reader_t *m_dvd;
int m_chapter;
public:
k9PlayMPEG2();
- void open (dvd_reader_t *dvd,const QString & device,k9DVDTitle * title,int chapter);
+ void open (dvd_reader_t *dvd,const TQString & device,k9DVDTitle * title,int chapter);
kDecMPEG2 *getDecoder();
void setDvd(dvd_reader_t* _value) { m_dvd = _value;}
dvd_reader_t* getDvd() const {return m_dvd;}
@@ -59,7 +60,7 @@ signals:
void setMin(uint32_t _sector);
void setMax(uint32_t _sector);
- void setError(const QString & err);
+ void setError(const TQString & err);
};