diff options
author | Timothy Pearson <[email protected]> | 2011-12-18 18:31:10 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-18 18:31:10 -0600 |
commit | 0e2b76239f354a9eead0b4e37d86d390ec57ffa9 (patch) | |
tree | cd20202507f54f61a4e58ae64fcd7cdb894abe19 /ksame | |
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 'ksame')
-rw-r--r-- | ksame/KSameWidget.cpp | 4 | ||||
-rw-r--r-- | ksame/StoneWidget.cpp | 2 | ||||
-rw-r--r-- | ksame/StoneWidget.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/ksame/KSameWidget.cpp b/ksame/KSameWidget.cpp index 3a3f1120..4cbcad57 100644 --- a/ksame/KSameWidget.cpp +++ b/ksame/KSameWidget.cpp @@ -113,7 +113,7 @@ void KSameWidget::saveProperties(KConfig *conf) { } void KSameWidget::sizeChanged() { - stone->setFixedSize(stone->tqsizeHint()); + stone->setFixedSize(stone->sizeHint()); } void KSameWidget::showNumberRemainingToggled() @@ -162,7 +162,7 @@ void KSameWidget::m_new() { bno.setRange(0, 1000000, 1); bno.setLabel(i18n("Select a board:")); bno.setFocus(); - bno.setFixedSize(bno.tqsizeHint()); + bno.setFixedSize(bno.sizeHint()); bno.setValue(stone->board()); if (dlg.exec()) newGame(bno.value(),default_colors); diff --git a/ksame/StoneWidget.cpp b/ksame/StoneWidget.cpp index 586aeefd..dc02a1bc 100644 --- a/ksame/StoneWidget.cpp +++ b/ksame/StoneWidget.cpp @@ -136,7 +136,7 @@ StoneWidget::colors() { } TQSize -StoneWidget::tqsizeHint () const { +StoneWidget::sizeHint () const { return TQSize(field_width,field_height); } diff --git a/ksame/StoneWidget.h b/ksame/StoneWidget.h index 616ef835..f4188419 100644 --- a/ksame/StoneWidget.h +++ b/ksame/StoneWidget.h @@ -55,7 +55,7 @@ public: int marked(); TQSize size(); int colors(); - virtual TQSize tqsizeHint() const; + virtual TQSize sizeHint() const; bool undoPossible() const; |