summaryrefslogtreecommitdiffstats
path: root/kenolaba/AbTop.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:31:10 -0600
committerTimothy Pearson <[email protected]>2011-12-18 18:31:10 -0600
commit0e2b76239f354a9eead0b4e37d86d390ec57ffa9 (patch)
treecd20202507f54f61a4e58ae64fcd7cdb894abe19 /kenolaba/AbTop.cpp
parent84ace1135cac57993b72fee7105b92def1638d32 (diff)
downloadtdegames-0e2b76239f354a9eead0b4e37d86d390ec57ffa9.tar.gz
tdegames-0e2b76239f354a9eead0b4e37d86d390ec57ffa9.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kenolaba/AbTop.cpp')
-rw-r--r--kenolaba/AbTop.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kenolaba/AbTop.cpp b/kenolaba/AbTop.cpp
index f107408d..1cc39c8a 100644
--- a/kenolaba/AbTop.cpp
+++ b/kenolaba/AbTop.cpp
@@ -107,7 +107,7 @@ AbTop::AbTop()
showSpy = false;
renderBalls = true;
- updatetqStatus();
+ updateStatus();
updateActions();
setupGUI();
}
@@ -391,8 +391,8 @@ void AbTop::setupStatusBar()
warningPix = BarIcon( "warning" );
okPix = BarIcon( "ok" );
validLabel = new TQLabel( "", statusBar(), "validLabel" );
- validLabel->setFixedSize( 18, statusLabel->tqsizeHint().height() );
- validLabel->tqsetAlignment( AlignCenter );
+ validLabel->setFixedSize( 18, statusLabel->sizeHint().height() );
+ validLabel->setAlignment( AlignCenter );
validLabel->hide();
validShown = false;
@@ -401,8 +401,8 @@ void AbTop::setupStatusBar()
noBall = BarIcon( "noball" );
ballLabel = new TQLabel( "", statusBar(), "ballLabel" );
ballLabel->setPixmap(noBall);
- ballLabel->setFixedSize( 18, statusLabel->tqsizeHint().height() );
- ballLabel->tqsetAlignment( AlignCenter );
+ ballLabel->setFixedSize( 18, statusLabel->sizeHint().height() );
+ ballLabel->setAlignment( AlignCenter );
statusBar()->addWidget(ballLabel, 0, true);
moveLabel = new TQLabel( i18n("Move %1").tqarg("--"), statusBar(), "moveLabel" );
@@ -436,7 +436,7 @@ void AbTop::updateSpy(TQString s)
{
if (showSpy) {
if (s.isEmpty()) {
- updatetqStatus();
+ updateStatus();
// statusBar()->clear();
}
else
@@ -458,7 +458,7 @@ void AbTop::updateBestMove(Move& m, int value)
}
-void AbTop::updatetqStatus()
+void AbTop::updateStatus()
{
TQString tmp;
bool showValid = false;
@@ -522,7 +522,7 @@ void AbTop::edited(int vState)
if (vState == Board::empty)
timerState = noGame;
- updatetqStatus();
+ updateStatus();
}
/* only <stop search>, <hint>, <take back> have to be updated */
@@ -662,7 +662,7 @@ void AbTop::playGame()
timerState = gameOver;
}
- updatetqStatus();
+ updateStatus();
updateActions();
boardWidget->setCursor(crossCursor);
if (stop) return;
@@ -814,7 +814,7 @@ void AbTop::editModify(bool on)
timerState = noGame;
updateActions();
- updatetqStatus();
+ updateStatus();
if (!editMode && vState == Board::valid) {
actMove.type = Move::none;
timerState = moveShown;
@@ -864,7 +864,7 @@ void AbTop::setMoveNo(int m, bool updateGUI)
board->setActColor( ((moveNo%2)==0) ? Board::color1 : Board::color2 );
if (updateGUI) {
- updatetqStatus();
+ updateStatus();
updateActions();
}
}