summaryrefslogtreecommitdiffstats
path: root/libksirtet/lib/wizard.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-13 12:28:49 +0900
committerMichele Calgaro <[email protected]>2024-01-13 12:28:49 +0900
commitc20f4d8f2cf03c69fcecc80d63fe3cbb80f51610 (patch)
tree50b08262da538c5b91f77e83e4b80d7fd6dbe0de /libksirtet/lib/wizard.cpp
parent51f65427771c47f6d34cda56b07d9d82bd0bfd33 (diff)
downloadtdegames-c20f4d8f2cf03c69fcecc80d63fe3cbb80f51610.tar.gz
tdegames-c20f4d8f2cf03c69fcecc80d63fe3cbb80f51610.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'libksirtet/lib/wizard.cpp')
-rw-r--r--libksirtet/lib/wizard.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/libksirtet/lib/wizard.cpp b/libksirtet/lib/wizard.cpp
index 891a0c6d..8618d36d 100644
--- a/libksirtet/lib/wizard.cpp
+++ b/libksirtet/lib/wizard.cpp
@@ -49,7 +49,7 @@ void MPWizard::setupTypePage()
typePage->setMargin(KDialogBase::marginHint());
TQVButtonGroup *vbg = new TQVButtonGroup(typePage);
- connect(vbg, TQT_SIGNAL(clicked(int)), TQT_SLOT(typeChanged(int)));
+ connect(vbg, TQ_SIGNAL(clicked(int)), TQ_SLOT(typeChanged(int)));
TQRadioButton *b;
b = new TQRadioButton(i18n("Create a local game"), vbg);
b = new TQRadioButton(i18n("Create a network game"), vbg);
@@ -82,10 +82,10 @@ void MPWizard::setupLocalPage(const MPGameInfo &gi)
wl = new WidgetList<PlayerLine>(5, localPage);
TQSignalMapper *husm = new TQSignalMapper(this);
- if (gi.humanSettingSlot) connect(husm, TQT_SIGNAL(mapped(int)),
+ if (gi.humanSettingSlot) connect(husm, TQ_SIGNAL(mapped(int)),
gi.humanSettingSlot);
TQSignalMapper *aism = new TQSignalMapper(this);
- if (gi.AISettingSlot) connect(aism, TQT_SIGNAL(mapped(int)), gi.AISettingSlot);
+ if (gi.AISettingSlot) connect(aism, TQ_SIGNAL(mapped(int)), gi.AISettingSlot);
TDEConfigGroupSaver cg(kapp->config(), MP_GROUP);
TQString n;
@@ -101,18 +101,18 @@ void MPWizard::setupLocalPage(const MPGameInfo &gi)
pl = new PlayerLine(type, n, gi.humanSettingSlot, gi.AISettingSlot,
i!=0, gi.AIAllowed, wl);
- connect(pl, TQT_SIGNAL(typeChanged(int)), TQT_SLOT(lineTypeChanged(int)));
+ connect(pl, TQ_SIGNAL(typeChanged(int)), TQ_SLOT(lineTypeChanged(int)));
husm->setMapping(pl, i);
- connect(pl, TQT_SIGNAL(setHuman()), husm, TQT_SLOT(map()));
+ connect(pl, TQ_SIGNAL(setHuman()), husm, TQ_SLOT(map()));
aism->setMapping(pl, i);
- connect(pl, TQT_SIGNAL(setAI()), aism, TQT_SLOT(map()));
+ connect(pl, TQ_SIGNAL(setAI()), aism, TQ_SLOT(map()));
wl->append(pl);
}
((TQVBox *)localPage)->setSpacing(KDialogBase::spacingHint());
// keys = new TQPushButton(i18n("Configure Keys..."), localPage);
-// connect(keys, TQT_SIGNAL(clicked()), TQT_SLOT(configureKeysSlot()));
+// connect(keys, TQ_SIGNAL(clicked()), TQ_SLOT(configureKeysSlot()));
addPage(localPage, i18n("Local Player's Settings"));
setHelpEnabled(localPage, FALSE);