diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:31:10 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-04 01:10:52 +0200 |
commit | 9e8c9cf72cdda55e3c96c7ef072c3358061d53c9 (patch) | |
tree | 668cc8f756c0cac76b39b63bc1f09115015a10a5 /kenolaba/AbTop.cpp | |
parent | 7cfcd74800487ecb6246597fdc559ca8baf2c4da (diff) | |
download | tdegames-9e8c9cf72cdda55e3c96c7ef072c3358061d53c9.tar.gz tdegames-9e8c9cf72cdda55e3c96c7ef072c3358061d53c9.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit 0e2b76239f354a9eead0b4e37d86d390ec57ffa9)
Diffstat (limited to 'kenolaba/AbTop.cpp')
-rw-r--r-- | kenolaba/AbTop.cpp | 22 |
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(); } } |