summaryrefslogtreecommitdiffstats
path: root/kjumpingcube/kcubeboxwidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
commit576eb4299a00bc053db35414406f46372a0f70f2 (patch)
tree4c030922d533821db464af566188e7d40cc8848c /kjumpingcube/kcubeboxwidget.h
parent0718336b6017d1a4fc1d626544180a5a2a29ddec (diff)
downloadtdegames-576eb4299a00bc053db35414406f46372a0f70f2.tar.gz
tdegames-576eb4299a00bc053db35414406f46372a0f70f2.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;
/** */