summaryrefslogtreecommitdiffstats
path: root/kgoldrunner/src/kgrcanvas.h
diff options
context:
space:
mode:
Diffstat (limited to 'kgoldrunner/src/kgrcanvas.h')
-rw-r--r--kgoldrunner/src/kgrcanvas.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/kgoldrunner/src/kgrcanvas.h b/kgoldrunner/src/kgrcanvas.h
index 2c0ab270..cfabc408 100644
--- a/kgoldrunner/src/kgrcanvas.h
+++ b/kgoldrunner/src/kgrcanvas.h
@@ -28,11 +28,12 @@
#include <tqimage.h>
#include <tqpainter.h>
-class KGrCanvas : public QCanvasView
+class KGrCanvas : public TQCanvasView
{
Q_OBJECT
+ TQ_OBJECT
public:
- KGrCanvas (TQWidget * parent = 0, const char *name = 0);
+ KGrCanvas (TQWidget * tqparent = 0, const char *name = 0);
virtual ~KGrCanvas();
void changeLandscape (const TQString & name);
@@ -95,7 +96,7 @@ private:
#ifdef QT3
TQPtrList<TQCanvasSprite> * enemySprites;
#else
- QList<TQCanvasSprite> * enemySprites;
+ TQList<TQCanvasSprite> * enemySprites;
#endif
void initView();