diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/qtapp/myqt.cpp | 4 | ||||
| -rw-r--r-- | examples/qtapp/myqt.h | 2 | ||||
| -rw-r--r-- | examples/qtgl/myqgl.cpp | 2 | ||||
| -rw-r--r-- | examples/qtgl/myqgl.h | 2 | 
4 files changed, 5 insertions, 5 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());  } 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: | 
