summaryrefslogtreecommitdiffstats
path: root/kjumpingcube/kcubeboxwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kjumpingcube/kcubeboxwidget.cpp')
-rw-r--r--kjumpingcube/kcubeboxwidget.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kjumpingcube/kcubeboxwidget.cpp b/kjumpingcube/kcubeboxwidget.cpp
index bca13210..57aecd15 100644
--- a/kjumpingcube/kcubeboxwidget.cpp
+++ b/kjumpingcube/kcubeboxwidget.cpp
@@ -30,8 +30,8 @@
#include "prefs.h"
-KCubeBoxWidget::KCubeBoxWidget(const int d,TQWidget *parent,const char *name)
- : TQWidget(parent,name),
+KCubeBoxWidget::KCubeBoxWidget(const int d,TQWidget *tqparent,const char *name)
+ : TQWidget(tqparent,name),
CubeBoxBase<KCubeWidget>(d)
{
init();
@@ -39,8 +39,8 @@ KCubeBoxWidget::KCubeBoxWidget(const int d,TQWidget *parent,const char *name)
-KCubeBoxWidget::KCubeBoxWidget(CubeBox& box,TQWidget *parent,const char *name)
- :TQWidget(parent,name),
+KCubeBoxWidget::KCubeBoxWidget(CubeBox& box,TQWidget *tqparent,const char *name)
+ :TQWidget(tqparent,name),
CubeBoxBase<KCubeWidget>(box.dim())
{
init();
@@ -57,8 +57,8 @@ KCubeBoxWidget::KCubeBoxWidget(CubeBox& box,TQWidget *parent,const char *name)
-KCubeBoxWidget::KCubeBoxWidget(const KCubeBoxWidget& box,TQWidget *parent,const char *name)
- :TQWidget(parent,name),
+KCubeBoxWidget::KCubeBoxWidget(const KCubeBoxWidget& box,TQWidget *tqparent,const char *name)
+ :TQWidget(tqparent,name),
CubeBoxBase<KCubeWidget>(box.dim())
{
init();
@@ -453,13 +453,13 @@ void KCubeBoxWidget::initCubes()
int i,j;
// create Layout
- layout=new TQGridLayout(this,s,s);
+ tqlayout=new TQGridLayout(this,s,s);
for(i=0;i<s;i++)
{
- layout->setRowStretch(i,1);
- layout->setColStretch(i,1);
+ tqlayout->setRowStretch(i,1);
+ tqlayout->setColStretch(i,1);
}
@@ -474,7 +474,7 @@ void KCubeBoxWidget::initCubes()
{
cubes[i][j]=new KCubeWidget(this);
cubes[i][j]->setCoordinates(i,j);
- layout->addWidget(cubes[i][j],i,j);
+ tqlayout->addWidget(cubes[i][j],i,j);
cubes[i][j]->show();
connect(cubes[i][j],TQT_SIGNAL(clicked(int,int,bool)),TQT_SLOT(stopHint()));
connect(cubes[i][j],TQT_SIGNAL(clicked(int,int,bool)),TQT_SLOT(checkClick(int,int,bool)));
@@ -504,15 +504,15 @@ void KCubeBoxWidget::initCubes()
}
-TQSize KCubeBoxWidget::sizeHint() const
+TQSize KCubeBoxWidget::tqsizeHint() const
{
return TQSize(400,400);
}
void KCubeBoxWidget::deleteCubes()
{
- if(layout)
- delete layout;
+ if(tqlayout)
+ delete tqlayout;
CubeBoxBase<KCubeWidget>::deleteCubes();
}