summaryrefslogtreecommitdiffstats
path: root/kenolaba/BoardWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kenolaba/BoardWidget.cpp')
-rw-r--r--kenolaba/BoardWidget.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kenolaba/BoardWidget.cpp b/kenolaba/BoardWidget.cpp
index 06a5f520..744ccb16 100644
--- a/kenolaba/BoardWidget.cpp
+++ b/kenolaba/BoardWidget.cpp
@@ -345,7 +345,7 @@ void BoardWidget::draw()
if (renderMode) {
updateBalls();
- tqrepaint(false);
+ repaint(false);
return;
}
@@ -889,7 +889,7 @@ void BoardWidget::mousePressEvent( TQMouseEvent* pEvent )
TQString tmp;
actValue = - board.calcEvaluation();
- tmp = i18n("Board value: %1").tqarg(actValue);
+ tmp = i18n("Board value: %1").arg(actValue);
emit updateSpy(tmp);
}
@@ -930,7 +930,7 @@ void BoardWidget::mouseMoveEvent( TQMouseEvent* pEvent )
TQString tmp;
actValue = - board.calcEvaluation();
- tmp = i18n("Board value: %1").tqarg(actValue);
+ tmp = i18n("Board value: %1").arg(actValue);
emit updateSpy(tmp);
return;
}
@@ -948,7 +948,7 @@ void BoardWidget::mouseMoveEvent( TQMouseEvent* pEvent )
TQString tmp;
tmp.sprintf("%+d", v-actValue);
- TQString str = TQString("%1 : %2").tqarg(actMove.name()).tqarg(tmp);
+ TQString str = TQString("%1 : %2").arg(actMove.name()).arg(tmp);
emit updateSpy(str);
showMove(actMove,3);
@@ -961,7 +961,7 @@ void BoardWidget::mouseMoveEvent( TQMouseEvent* pEvent )
if (pos == startPos) {
showStart(actMove,1);
startShown = true;
- tmp = i18n("Board value: %1").tqarg(actValue);
+ tmp = i18n("Board value: %1").arg(actValue);
}
else
draw();