summaryrefslogtreecommitdiffstats
path: root/kjumpingcube/kcubeboxwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'kjumpingcube/kcubeboxwidget.h')
-rw-r--r--kjumpingcube/kcubeboxwidget.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/kjumpingcube/kcubeboxwidget.h b/kjumpingcube/kcubeboxwidget.h
index ff2f4ac0..ca532244 100644
--- a/kjumpingcube/kcubeboxwidget.h
+++ b/kjumpingcube/kcubeboxwidget.h
@@ -25,7 +25,7 @@
#include "cubeboxbase.h"
#include "kcubewidget.h"
#include "brain.h"
-#include <qwidget.h>
+#include <tqwidget.h>
class QGridLayout;
class CubeBox;
@@ -48,14 +48,14 @@ struct Loop
};
-class KCubeBoxWidget : public QWidget , public CubeBoxBase<KCubeWidget>
+class KCubeBoxWidget : public TQWidget , public CubeBoxBase<KCubeWidget>
{
Q_OBJECT
public:
- KCubeBoxWidget(const int dim=1,QWidget *parent=0,const char *name=0);
+ KCubeBoxWidget(const int dim=1,TQWidget *parent=0,const char *name=0);
- KCubeBoxWidget(CubeBox& box, QWidget *parent=0,const char *name=0);
- KCubeBoxWidget(const KCubeBoxWidget& box,QWidget *parent=0,const char *name=0);
+ KCubeBoxWidget(CubeBox& box, TQWidget *parent=0,const char *name=0);
+ KCubeBoxWidget(const KCubeBoxWidget& box,TQWidget *parent=0,const char *name=0);
virtual ~KCubeBoxWidget();
KCubeBoxWidget& operator= (CubeBox& box);
@@ -75,7 +75,7 @@ public:
* @param forWhom for which player the color should be set
* @param color color for player one
*/
- void setColor(Player forWhom,QPalette color);
+ void setColor(Player forWhom,TQPalette color);
/**
* sets number of Cubes in a row/column to 'size'.
*/
@@ -100,7 +100,7 @@ public:
bool isMoving() const;
/** returns current Color for Player ´forWhom´ */
- QPalette color(Player forWhom);
+ TQPalette color(Player forWhom);
/**
* checks if 'player' is a computerplayer an computes next move if TRUE
@@ -130,7 +130,7 @@ signals:
void stoppedThinking();
protected:
- virtual QSize sizeHint() const;
+ virtual TQSize sizeHint() const;
virtual void deleteCubes();
virtual void initCubes();
@@ -146,11 +146,11 @@ protected slots:
private:
void init();
- QGridLayout *layout;
+ TQGridLayout *layout;
CubeBox *undoBox;
Brain brain;
- QTimer *moveTimer;
+ TQTimer *moveTimer;
int moveDelay;
Loop loop;
/** */