summaryrefslogtreecommitdiffstats
path: root/kjumpingcube
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-21 14:20:47 -0600
committerSlávek Banko <[email protected]>2012-06-04 01:10:54 +0200
commitedee609d80715382db83adbc8b00c7f74793edcb (patch)
treeb11a53fb2d6b02c5f7613b8fcd724f4b7d5837bf /kjumpingcube
parent00e58f1937047eb6c23edbdb3ae7ed5feec7a572 (diff)
downloadtdegames-edee609d80715382db83adbc8b00c7f74793edcb.tar.gz
tdegames-edee609d80715382db83adbc8b00c7f74793edcb.zip
Rename obsolete tq methods to standard names
(cherry picked from commit 36770452958a79a095f9d9e605e79f66cfa79a2b)
Diffstat (limited to 'kjumpingcube')
-rw-r--r--kjumpingcube/kcubeboxwidget.cpp12
-rw-r--r--kjumpingcube/kcubeboxwidget.h2
2 files changed, 7 insertions, 7 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();
}
diff --git a/kjumpingcube/kcubeboxwidget.h b/kjumpingcube/kcubeboxwidget.h
index b0e8c142..5e21fa57 100644
--- a/kjumpingcube/kcubeboxwidget.h
+++ b/kjumpingcube/kcubeboxwidget.h
@@ -147,7 +147,7 @@ protected slots:
private:
void init();
- TQGridLayout *tqlayout;
+ TQGridLayout *layout;
CubeBox *undoBox;
Brain brain;