From 576eb4299a00bc053db35414406f46372a0f70f2 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:42:31 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksame/StoneWidget.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'ksame/StoneWidget.h') 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 +#include #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 history; + TQPtrList 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 -- cgit v1.2.1