summaryrefslogtreecommitdiffstats
path: root/ksame
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:31:10 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:31:10 -0600
commit0e2b76239f354a9eead0b4e37d86d390ec57ffa9 (patch)
treecd20202507f54f61a4e58ae64fcd7cdb894abe19 /ksame
parent84ace1135cac57993b72fee7105b92def1638d32 (diff)
downloadtdegames-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.cpp4
-rw-r--r--ksame/StoneWidget.cpp2
-rw-r--r--ksame/StoneWidget.h2
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;