summaryrefslogtreecommitdiffstats
path: root/kjumpingcube/kcubeboxwidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
commit838baf3f99ec5ab81b063eb5449a3381d860f377 (patch)
treedd31abcfde08ca92e4623b8f50b3d762a87c997a /kjumpingcube/kcubeboxwidget.h
parent2bf598bafa22fac4126fc8842df6b0119aadc0e9 (diff)
downloadtdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.tar.gz
tdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.zip
TQt4 port kdegames
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1236074 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kjumpingcube/kcubeboxwidget.h')
-rw-r--r--kjumpingcube/kcubeboxwidget.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/kjumpingcube/kcubeboxwidget.h b/kjumpingcube/kcubeboxwidget.h
index e2bf73ca..e8d0553e 100644
--- a/kjumpingcube/kcubeboxwidget.h
+++ b/kjumpingcube/kcubeboxwidget.h
@@ -51,11 +51,12 @@ struct Loop
class KCubeBoxWidget : public TQWidget , public CubeBoxBase<KCubeWidget>
{
Q_OBJECT
+ TQ_OBJECT
public:
- KCubeBoxWidget(const int dim=1,TQWidget *parent=0,const char *name=0);
+ KCubeBoxWidget(const int dim=1,TQWidget *tqparent=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);
+ KCubeBoxWidget(CubeBox& box, TQWidget *tqparent=0,const char *name=0);
+ KCubeBoxWidget(const KCubeBoxWidget& box,TQWidget *tqparent=0,const char *name=0);
virtual ~KCubeBoxWidget();
KCubeBoxWidget& operator= (CubeBox& box);
@@ -130,7 +131,7 @@ signals:
void stoppedThinking();
protected:
- virtual TQSize sizeHint() const;
+ virtual TQSize tqsizeHint() const;
virtual void deleteCubes();
virtual void initCubes();
@@ -146,7 +147,7 @@ protected slots:
private:
void init();
- TQGridLayout *layout;
+ TQGridLayout *tqlayout;
CubeBox *undoBox;
Brain brain;