|
|
|
@ -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());
|
|
|
|
|
}
|
|
|
|
|