summaryrefslogtreecommitdiffstats
path: root/kwin4/kwin4/kwin4view.h
diff options
context:
space:
mode:
Diffstat (limited to 'kwin4/kwin4/kwin4view.h')
-rw-r--r--kwin4/kwin4/kwin4view.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/kwin4/kwin4/kwin4view.h b/kwin4/kwin4/kwin4view.h
index 48b60706..775aee1c 100644
--- a/kwin4/kwin4/kwin4view.h
+++ b/kwin4/kwin4/kwin4view.h
@@ -18,7 +18,7 @@
#ifndef KWIN4VIEW_H
#define KWIN4VIEW_H
-#include <qcanvas.h>
+#include <tqcanvas.h>
#include <kgameio.h>
class Kwin4Doc;
@@ -34,7 +34,7 @@ class Kwin4View : public QCanvasView
Q_OBJECT
public:
- Kwin4View(Kwin4Doc *theDoc, QWidget *parent = 0, const char *name=0);
+ Kwin4View(Kwin4Doc *theDoc, TQWidget *parent = 0, const char *name=0);
void initView(bool deleteall=true);
void drawBoard(bool remove=false);
@@ -51,20 +51,20 @@ public:
void EndGame();
public slots:
- void slotMouseInput(KGameIO *input,QDataStream &stream,QMouseEvent *e,bool *eatevent);
- void slotKeyInput(KGameIO *input,QDataStream &stream,QKeyEvent *e,bool *eatevent);
- void introMoveDone(QCanvasItem *item,int mode);
+ void slotMouseInput(KGameIO *input,TQDataStream &stream,TQMouseEvent *e,bool *eatevent);
+ void slotKeyInput(KGameIO *input,TQDataStream &stream,TQKeyEvent *e,bool *eatevent);
+ void introMoveDone(TQCanvasItem *item,int mode);
protected:
- QPixmap *loadPixmap(QString name);
- void resizeEvent(QResizeEvent *e);
+ TQPixmap *loadPixmap(TQString name);
+ void resizeEvent(TQResizeEvent *e);
bool wrongPlayer(KPlayer *player,KGameIO::IOMode io);
private:
Kwin4Doc *doc;
- QCanvas *mCanvas; // our drawing canvas
+ TQCanvas *mCanvas; // our drawing canvas
KSpriteCache *mCache; // The sprite cache
- QString mGrafix; // grafix dir
+ TQString mGrafix; // grafix dir
int mLastArrow; // last drawn arrow
int mLastX; // last piece