summaryrefslogtreecommitdiffstats
path: root/kenolaba/BoardWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kenolaba/BoardWidget.cpp')
-rw-r--r--kenolaba/BoardWidget.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kenolaba/BoardWidget.cpp b/kenolaba/BoardWidget.cpp
index 744ccb16..9462b8d5 100644
--- a/kenolaba/BoardWidget.cpp
+++ b/kenolaba/BoardWidget.cpp
@@ -237,7 +237,7 @@ void BoardWidget::drawBoard()
#ifndef HAVE_KIR
TQColorGroup g = TQPalette( *boardColor ).active();
- TQColorGroup g2 = TQWidget::colorGroup();
+ TQColorGroup g2 = TQWidget::tqcolorGroup();
int boardSize = width() *10/12;
if (boardSize > height()) boardSize = height();
@@ -345,7 +345,7 @@ void BoardWidget::draw()
if (renderMode) {
updateBalls();
- repaint(false);
+ tqrepaint(false);
return;
}
@@ -889,7 +889,7 @@ void BoardWidget::mousePressEvent( TQMouseEvent* pEvent )
TQString tmp;
actValue = - board.calcEvaluation();
- tmp = i18n("Board value: %1").arg(actValue);
+ tmp = i18n("Board value: %1").tqarg(actValue);
emit updateSpy(tmp);
}
@@ -930,7 +930,7 @@ void BoardWidget::mouseMoveEvent( TQMouseEvent* pEvent )
TQString tmp;
actValue = - board.calcEvaluation();
- tmp = i18n("Board value: %1").arg(actValue);
+ tmp = i18n("Board value: %1").tqarg(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").arg(actMove.name()).arg(tmp);
+ TQString str = TQString("%1 : %2").tqarg(actMove.name()).tqarg(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").arg(actValue);
+ tmp = i18n("Board value: %1").tqarg(actValue);
}
else
draw();
@@ -1019,7 +1019,7 @@ void BoardWidget::mouseReleaseEvent( TQMouseEvent* pEvent )
emit updateSpy(tmp);
}
-TQSize BoardWidget::sizeHint() const
+TQSize BoardWidget::tqsizeHint() const
{
return TQSize(400, 350);
}