summaryrefslogtreecommitdiffstats
path: root/libksirtet/lib/mp_interface.cpp
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 /libksirtet/lib/mp_interface.cpp
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 'libksirtet/lib/mp_interface.cpp')
-rw-r--r--libksirtet/lib/mp_interface.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/libksirtet/lib/mp_interface.cpp b/libksirtet/lib/mp_interface.cpp
index a18b3d0b..40788c0d 100644
--- a/libksirtet/lib/mp_interface.cpp
+++ b/libksirtet/lib/mp_interface.cpp
@@ -64,7 +64,7 @@ void MPInterface::dialog()
// net meeting
TQPtrList<RemoteHostData> rhd;
- rhd.setAutoDelete(TRUE);
+ rhd.setAutoDelete(true);
if (cd.network) {
cId id(kapp->name(), gameInfo.gameId);
MPOptionWidget *ow = newOptionWidget();
@@ -110,8 +110,8 @@ void MPInterface::specialLocalGame(uint nbHumans, uint nbAIs)
: i18n("AI %1").arg(i-nbHumans+1));
cd.rhd.bds += bd;
}
- cd.server = TRUE;
- cd.network = FALSE;
+ cd.server = true;
+ cd.network = false;
Q_ASSERT( (nbHumans+nbAIs)<=gameInfo.maxNbLocalPlayers );
Q_ASSERT( gameInfo.AIAllowed || nbAIs==0 );
@@ -255,7 +255,7 @@ void MPInterface::hostDisconnected(uint, const TQString &msg)
errorBox(msg, TQString(), this);
if ( !disconnected ) { // to avoid multiple calls
- disconnected = TRUE;
+ disconnected = true;
// the zero timer is used to be outside the "internal" class
TQTimer::singleShot(0, this, TQ_SLOT(singleHumanSlot()));
}
@@ -263,7 +263,7 @@ void MPInterface::hostDisconnected(uint, const TQString &msg)
void MPInterface::singleHumanSlot()
{
- disconnected = FALSE;
+ disconnected = false;
singleHuman();
}