diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:31:10 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:31:10 -0600 |
commit | 0e2b76239f354a9eead0b4e37d86d390ec57ffa9 (patch) | |
tree | cd20202507f54f61a4e58ae64fcd7cdb894abe19 /kjumpingcube | |
parent | 84ace1135cac57993b72fee7105b92def1638d32 (diff) | |
download | tdegames-0e2b76239f354a9eead0b4e37d86d390ec57ffa9.tar.gz tdegames-0e2b76239f354a9eead0b4e37d86d390ec57ffa9.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kjumpingcube')
-rw-r--r-- | kjumpingcube/kcubeboxwidget.cpp | 2 | ||||
-rw-r--r-- | kjumpingcube/kcubeboxwidget.h | 2 | ||||
-rw-r--r-- | kjumpingcube/kjumpingcube.cpp | 2 | ||||
-rw-r--r-- | kjumpingcube/settings.ui | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/kjumpingcube/kcubeboxwidget.cpp b/kjumpingcube/kcubeboxwidget.cpp index 815acb6d..c30bdef5 100644 --- a/kjumpingcube/kcubeboxwidget.cpp +++ b/kjumpingcube/kcubeboxwidget.cpp @@ -504,7 +504,7 @@ void KCubeBoxWidget::initCubes() } -TQSize KCubeBoxWidget::tqsizeHint() const +TQSize KCubeBoxWidget::sizeHint() const { return TQSize(400,400); } diff --git a/kjumpingcube/kcubeboxwidget.h b/kjumpingcube/kcubeboxwidget.h index d1cc160c..b0e8c142 100644 --- a/kjumpingcube/kcubeboxwidget.h +++ b/kjumpingcube/kcubeboxwidget.h @@ -131,7 +131,7 @@ signals: void stoppedThinking(); protected: - virtual TQSize tqsizeHint() const; + virtual TQSize sizeHint() const; virtual void deleteCubes(); virtual void initCubes(); diff --git a/kjumpingcube/kjumpingcube.cpp b/kjumpingcube/kjumpingcube.cpp index a35dcf19..deede438 100644 --- a/kjumpingcube/kjumpingcube.cpp +++ b/kjumpingcube/kjumpingcube.cpp @@ -64,7 +64,7 @@ KJumpingCube::KJumpingCube() statusBar()->insertItem(s,ID_STATUS_TURN_TEXT, false); statusBar()->changeItem(s,ID_STATUS_TURN_TEXT); statusBar()->setItemAlignment (ID_STATUS_TURN_TEXT, AlignLeft | AlignVCenter); - statusBar()->setFixedHeight( statusBar()->tqsizeHint().height() ); + statusBar()->setFixedHeight( statusBar()->sizeHint().height() ); currentPlayer = new TQWidget(this, "currentPlayer"); currentPlayer->setFixedWidth(40); diff --git a/kjumpingcube/settings.ui b/kjumpingcube/settings.ui index 30b4010a..a8c05921 100644 --- a/kjumpingcube/settings.ui +++ b/kjumpingcube/settings.ui @@ -110,7 +110,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>20</width> <height>16</height> |