summaryrefslogtreecommitdiffstats
path: root/ksame
diff options
context:
space:
mode:
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;