summaryrefslogtreecommitdiffstats
path: root/libksirtet/lib/wizard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libksirtet/lib/wizard.cpp')
-rw-r--r--libksirtet/lib/wizard.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/libksirtet/lib/wizard.cpp b/libksirtet/lib/wizard.cpp
index 8618d36d..411e2e71 100644
--- a/libksirtet/lib/wizard.cpp
+++ b/libksirtet/lib/wizard.cpp
@@ -33,7 +33,7 @@
MPWizard::MPWizard(const MPGameInfo &gi, ConnectionData &_cd,
TQWidget *parent, const char *name)
-: KWizard(parent, name, TRUE), cd(_cd)
+: KWizard(parent, name, true), cd(_cd)
{
// setupTypePage(); // #### REMOVE NETWORK GAMES UNTIL FIXED
type = Local;
@@ -70,7 +70,7 @@ void MPWizard::setupTypePage()
eport->setRange(MIN_USER_PORT, MAX_USER_PORT, 1, false);
addPage(typePage, i18n("Choose Game Type"));
- setHelpEnabled(typePage, FALSE);
+ setHelpEnabled(typePage, false);
typeChanged(type);
}
@@ -115,7 +115,7 @@ void MPWizard::setupLocalPage(const MPGameInfo &gi)
// connect(keys, TQ_SIGNAL(clicked()), TQ_SLOT(configureKeysSlot()));
addPage(localPage, i18n("Local Player's Settings"));
- setHelpEnabled(localPage, FALSE);
+ setHelpEnabled(localPage, false);
lineTypeChanged(0);
}
@@ -148,10 +148,10 @@ void MPWizard::typeChanged(int t)
void MPWizard::lineTypeChanged(int)
{
- bool b = FALSE;
+ bool b = false;
for (uint i=0; i<wl->size(); i++)
if ( wl->widget(i)->type()==PlayerComboBox::Human ) {
- b = TRUE;
+ b = true;
break;
}
// keys->setEnabled(b);
@@ -216,7 +216,7 @@ void MPWizard::accept()
void MPWizard::showPage(TQWidget *page)
{
- if ( page==localPage ) setFinishEnabled(localPage, TRUE);
+ if ( page==localPage ) setFinishEnabled(localPage, true);
KWizard::showPage(page);
}