diff options
Diffstat (limited to 'kjumpingcube/kcubeboxwidget.cpp')
-rw-r--r-- | kjumpingcube/kcubeboxwidget.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kjumpingcube/kcubeboxwidget.cpp b/kjumpingcube/kcubeboxwidget.cpp index c30bdef5..bca13210 100644 --- a/kjumpingcube/kcubeboxwidget.cpp +++ b/kjumpingcube/kcubeboxwidget.cpp @@ -453,13 +453,13 @@ void KCubeBoxWidget::initCubes() int i,j; // create Layout - tqlayout=new TQGridLayout(this,s,s); + layout=new TQGridLayout(this,s,s); for(i=0;i<s;i++) { - tqlayout->setRowStretch(i,1); - tqlayout->setColStretch(i,1); + layout->setRowStretch(i,1); + layout->setColStretch(i,1); } @@ -474,7 +474,7 @@ void KCubeBoxWidget::initCubes() { cubes[i][j]=new KCubeWidget(this); cubes[i][j]->setCoordinates(i,j); - tqlayout->addWidget(cubes[i][j],i,j); + layout->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))); @@ -511,8 +511,8 @@ TQSize KCubeBoxWidget::sizeHint() const void KCubeBoxWidget::deleteCubes() { - if(tqlayout) - delete tqlayout; + if(layout) + delete layout; CubeBoxBase<KCubeWidget>::deleteCubes(); } |