Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit b6c5fd7f2c)
r14.1.x
Michele Calgaro 1 year ago
parent 50d1b990d5
commit 82528b267c
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1133,14 +1133,14 @@ cat >> conftest.$ac_ext <<EOF
EOF
if test $kde_qtsubver -gt 0; then
cat >> conftest.$ac_ext <<EOF
QString s;
TQString s;
s.setLatin1("Elvis is alive", 14);
EOF
fi
fi
if test "$kde_qtver" = "3"; then
cat >> conftest.$ac_ext <<EOF
(void)QStyleFactory::create(QString::null);
(void)QStyleFactory::create(TQString::null);
QCursor c(Qt::WhatsThisCursor);
EOF
fi
@ -4664,7 +4664,7 @@ AC_TRY_RUN(dnl
#include <qimageio.h>
#include <qstring.h>
int main() {
QString t = "hallo";
TQString t = "hallo";
t.fill('t');
qInitImageIO();
}

@ -26,7 +26,7 @@ source distribution of ksquirrel-libs.
RGBA *image = NULL, *scan;
fmt_codec_base *codeK;
QString file = "/home/krasu/animation1.gif";
TQString file = "/home/krasu/animation1.gif";
<b>Determine the library and codec</b>
codeK = SQ_LibraryHandler::instance()->libraryForFile(file)->codec;

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

@ -14,7 +14,7 @@ class MyQT : public QLabel
TQ_OBJECT
public:
MyQT(QWidget *parent = 0, const char *name = 0);
MyQT(TQWidget *parent = 0, const char *name = 0);
~MyQT();
QPixmap loadImage();

@ -9,7 +9,7 @@
#include "ksquirrel-libs/fmt_utils.h"
#include "ksquirrel-libs/error.h"
MyQGL::MyQGL(QWidget *parent, const char *name) : QGLWidget(parent, name), bits(0), w(0), h(0)
MyQGL::MyQGL(TQWidget *parent, const char *name) : QGLWidget(parent, name), bits(0), w(0), h(0)
{}
MyQGL::~MyQGL()

@ -14,7 +14,7 @@ class MyQGL : public QGLWidget
TQ_OBJECT
public:
MyQGL(QWidget *parent = 0, const char *name = 0);
MyQGL(TQWidget *parent = 0, const char *name = 0);
~MyQGL();
public slots:

Loading…
Cancel
Save