summaryrefslogtreecommitdiffstats
path: root/tdefifteen
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-04-07 15:50:40 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-07 23:25:01 +0900
commit664580ffc694a1f9e7ab25d4636ca9696a38d958 (patch)
treedaea2bbeea9cce36e9c8fe66afd1930e397e7ebd /tdefifteen
parentd62a856cb43f9a527dc936783d18fbfe4cc0d9c2 (diff)
downloadtdegames-r14.1.4.tar.gz
tdegames-r14.1.4.zip
Replace TRUE/FALSE with boolean values true/falser14.1.4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 66230b1cca2fa5c95886d8cf708829e4bfac2b10)
Diffstat (limited to 'tdefifteen')
-rw-r--r--tdefifteen/src/gameboard.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdefifteen/src/gameboard.cpp b/tdefifteen/src/gameboard.cpp
index 0fb2084c..d3f9d6de 100644
--- a/tdefifteen/src/gameboard.cpp
+++ b/tdefifteen/src/gameboard.cpp
@@ -59,7 +59,7 @@ GameBoard::GameBoard(TQWidget *parent, const char *name)
tmr = new TQTimer(this);
TQObject::connect(tmr, TQ_SIGNAL(timeout()), this, TQ_SLOT(moveItem()));
- setEnabled(TRUE);
+ setEnabled(true);
origin = xpm;
}
@@ -331,7 +331,7 @@ GameBoard::checkEndGame()
if (n == 15) {
txt = tr("Game Over");
TQMessageBox::information(this, txt, txt);
- setEnabled(FALSE);
+ setEnabled(false);
}
}
@@ -339,7 +339,7 @@ GameBoard::checkEndGame()
void
GameBoard::newGame()
{
- setEnabled(TRUE);
+ setEnabled(true);
initMap();
newTask();
}