summaryrefslogtreecommitdiffstats
path: root/k9decmpeg/kdecmpeg2.cpp
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/kdecmpeg2.cpp
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/kdecmpeg2.cpp')
-rwxr-xr-xk9decmpeg/kdecmpeg2.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/k9decmpeg/kdecmpeg2.cpp b/k9decmpeg/kdecmpeg2.cpp
index 80c1774..15b487e 100755
--- a/k9decmpeg/kdecmpeg2.cpp
+++ b/k9decmpeg/kdecmpeg2.cpp
@@ -21,14 +21,14 @@
#include "kdecmpeg2.h"
#include "mpeg2.h"
#include "mpeg2convert.h"
-#include <qpixmap.h>
-#include <qpainter.h>
-#include <qlabel.h>
-#include <qapplication.h>
-#include <qcstring.h>
+#include <tqpixmap.h>
+#include <tqpainter.h>
+#include <tqlabel.h>
+#include <tqapplication.h>
+#include <tqcstring.h>
#include "k9decodethread.h"
-void k9DisplayThread::setImage( QImage _image) {
+void k9DisplayThread::setImage( TQImage _image) {
if (m_mutex.tryLock()) {
m_image=_image;
m_raw=FALSE;
@@ -50,7 +50,7 @@ void k9DisplayThread::setRawImage(uchar *_buffer,int _width,int _height,int size
}
void k9DisplayThread::run() {
- if (qApp==NULL)
+ if (tqApp==NULL)
return;
if (m_raw) {
m_dec->drawRaw( m_buffer,m_width,m_height,m_size);