summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--acinclude.m46
-rw-r--r--doc/html/development-highlev.html2
-rw-r--r--examples/qtapp/myqt.cpp4
-rw-r--r--examples/qtapp/myqt.h2
-rw-r--r--examples/qtgl/myqgl.cpp2
-rw-r--r--examples/qtgl/myqgl.h2
6 files changed, 9 insertions, 9 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 2080a9c..dc1ef4f 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -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();
}
diff --git a/doc/html/development-highlev.html b/doc/html/development-highlev.html
index 6174f5c..4716844 100644
--- a/doc/html/development-highlev.html
+++ b/doc/html/development-highlev.html
@@ -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;
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());
}
diff --git a/examples/qtapp/myqt.h b/examples/qtapp/myqt.h
index 8369054..e05ee1d 100644
--- a/examples/qtapp/myqt.h
+++ b/examples/qtapp/myqt.h
@@ -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();
diff --git a/examples/qtgl/myqgl.cpp b/examples/qtgl/myqgl.cpp
index 2ae6e59..b1387f4 100644
--- a/examples/qtgl/myqgl.cpp
+++ b/examples/qtgl/myqgl.cpp
@@ -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()
diff --git a/examples/qtgl/myqgl.h b/examples/qtgl/myqgl.h
index d0549df..70c1690 100644
--- a/examples/qtgl/myqgl.h
+++ b/examples/qtgl/myqgl.h
@@ -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: