diff options
Diffstat (limited to 'examples/qtapp/myqt.cpp')
| -rw-r--r-- | examples/qtapp/myqt.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/examples/qtapp/myqt.cpp b/examples/qtapp/myqt.cpp index 01e01f9..548f2ea 100644 --- a/examples/qtapp/myqt.cpp +++ b/examples/qtapp/myqt.cpp @@ -9,7 +9,7 @@  #include "ksquirrel-libs/fmt_utils.h"  #include "ksquirrel-libs/error.h" -MyQT::MyQT(QWidget *parent, const char *name) : QLabel(parent, name) +MyQT::MyQT(TQWidget *parent, const char *name) : QLabel(parent, name)  {      setAlignment(Qt::AlignCenter);  } @@ -100,7 +100,7 @@ QPixmap MyQT::loadImage()  	codeK->read_close(); -	QImage im((unsigned char*)image, finfo.image[current].w, finfo.image[current].h, 32, 0, 0, QImage::LittleEndian); +	TQImage im((unsigned char*)image, finfo.image[current].w, finfo.image[current].h, 32, 0, 0, TQImage::LittleEndian);  	return QPixmap(im.swapRGB());  } | 
