summaryrefslogtreecommitdiffstats
path: root/ksnake/rattler.h
diff options
context:
space:
mode:
Diffstat (limited to 'ksnake/rattler.h')
-rw-r--r--ksnake/rattler.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/ksnake/rattler.h b/ksnake/rattler.h
index 2922dfe6..da0c13bd 100644
--- a/ksnake/rattler.h
+++ b/ksnake/rattler.h
@@ -26,7 +26,7 @@
#ifndef RATTLER_H
#define RATTLER_H
-#include <qwidget.h>
+#include <tqwidget.h>
#include <kaction.h>
#include "ball.h"
#include "snake.h"
@@ -45,7 +45,7 @@ class Rattler : public QWidget
Q_OBJECT
public:
- Rattler ( QWidget *parent=0, const char *name=0 );
+ Rattler ( TQWidget *parent=0, const char *name=0 );
~Rattler();
void setActionCollection(KActionCollection *a){ actionCollection = a;}
@@ -59,7 +59,7 @@ public:
void reloadRoomPixmap();
- QStringList backgroundPixmaps;
+ TQStringList backgroundPixmaps;
public slots:
void closeGate(int);
@@ -101,12 +101,12 @@ signals:
void advance();
protected:
- void timerEvent( QTimerEvent * );
- void paintEvent( QPaintEvent * );
- void keyPressEvent( QKeyEvent * );
- void mousePressEvent( QMouseEvent * );
- void focusOutEvent( QFocusEvent * ) { ; }
- void focusInEvent( QFocusEvent * ) { ; }
+ void timerEvent( TQTimerEvent * );
+ void paintEvent( TQPaintEvent * );
+ void keyPressEvent( TQKeyEvent * );
+ void mousePressEvent( TQMouseEvent * );
+ void focusOutEvent( TQFocusEvent * ) { ; }
+ void focusInEvent( TQFocusEvent * ) { ; }
KActionCollection *actionCollection;
private:
@@ -125,12 +125,12 @@ private:
int direction;
- QPtrList<Ball> *balls;
+ TQPtrList<Ball> *balls;
void restartBalls(bool);
int numBalls;
int ballsAI;
- QPtrList<CompuSnake> *computerSnakes;
+ TQPtrList<CompuSnake> *computerSnakes;
void restartComputerSnakes(bool);
int numSnakes;
int snakesAI;
@@ -147,7 +147,7 @@ private:
void score(int);
void cleanLabel();
- void resizeEvent( QResizeEvent * );
+ void resizeEvent( TQResizeEvent * );
};