summaryrefslogtreecommitdiffstats
path: root/ksame/StoneWidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'ksame/StoneWidget.h')
-rw-r--r--ksame/StoneWidget.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/ksame/StoneWidget.h b/ksame/StoneWidget.h
index 05276924..b6840055 100644
--- a/ksame/StoneWidget.h
+++ b/ksame/StoneWidget.h
@@ -22,12 +22,12 @@
#ifndef _STONEWIDGET
#define _STONEWIDGET
-#include <qwidget.h>
+#include <tqwidget.h>
#include "StoneField.h"
struct StoneSlice;
-class StoneWidget : public QWidget {
+class StoneWidget : public TQWidget {
Q_OBJECT
int modified;
@@ -37,7 +37,7 @@ class StoneWidget : public QWidget {
int sizex, sizey;
int field_width, field_height;
- QPtrList<QPoint> history;
+ TQPtrList<TQPoint> history;
StoneField stonefield;
// picture number of stonemovie
@@ -46,15 +46,15 @@ class StoneWidget : public QWidget {
StoneSlice **map;
public:
- StoneWidget( QWidget *parent=0, int x=10,int y=10);
+ StoneWidget( TQWidget *parent=0, int x=10,int y=10);
~StoneWidget();
unsigned int board();
int score();
int marked();
- QSize size();
+ TQSize size();
int colors();
- virtual QSize sizeHint() const;
+ virtual TQSize sizeHint() const;
bool undoPossible() const;
@@ -75,10 +75,10 @@ public:
int count(int color);
protected:
- void timerEvent( QTimerEvent *e );
- void paintEvent( QPaintEvent *e );
- void mousePressEvent ( QMouseEvent *e);
- void mouseMoveEvent ( QMouseEvent *e);
+ void timerEvent( TQTimerEvent *e );
+ void paintEvent( TQPaintEvent *e );
+ void mousePressEvent ( TQMouseEvent *e);
+ void mouseMoveEvent ( TQMouseEvent *e);
// properties of the stone picture
int stone_width,stone_height; // size of one stone