diff options
author | Michele Calgaro <[email protected]> | 2023-12-20 22:30:18 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-20 22:39:59 +0900 |
commit | 7909152750670148360093b2519955fbfa555154 (patch) | |
tree | 86544c17c877637743df75e42369e8114c38abf3 /libksirtet/lib | |
parent | 2d872f6fb68350f9ee5b0b5c86ab3240b0d09aae (diff) | |
download | tdegames-7909152750670148360093b2519955fbfa555154.tar.gz tdegames-7909152750670148360093b2519955fbfa555154.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'libksirtet/lib')
-rw-r--r-- | libksirtet/lib/keys.cpp | 2 | ||||
-rw-r--r-- | libksirtet/lib/mp_interface.cpp | 2 | ||||
-rw-r--r-- | libksirtet/lib/wizard.cpp | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/libksirtet/lib/keys.cpp b/libksirtet/lib/keys.cpp index 5d250680..b6cc99cd 100644 --- a/libksirtet/lib/keys.cpp +++ b/libksirtet/lib/keys.cpp @@ -49,7 +49,7 @@ void KeyData::createActionCollection(uint index, TQWidget *receiver) TQString name = TQString("%2 %3").arg(index+1).arg(_data[k].name); const char *slot = (_data[k].slotRelease ? 0 : _data[k].slot); TDEAction *a = new TDEAction(label, _keycodes[_cols.size()-1][index][k], - TQT_TQOBJECT(receiver), slot, _cols[index], name.utf8()); + receiver, slot, _cols[index], name.utf8()); a->setEnabled(false); if ( slot==0 ) { SpecialData data; diff --git a/libksirtet/lib/mp_interface.cpp b/libksirtet/lib/mp_interface.cpp index 1ad8a572..559f0d7e 100644 --- a/libksirtet/lib/mp_interface.cpp +++ b/libksirtet/lib/mp_interface.cpp @@ -29,7 +29,7 @@ MPInterface::MPInterface(const MPGameInfo &_gameInfo, hbl = new TQHBoxLayout(this, 0, 5); hbl->setResizeMode( TQLayout::Fixed ); - _keyData = new KeyData(gameInfo.maxNbLocalPlayers, nbActions, data, TQT_TQOBJECT(this)); + _keyData = new KeyData(gameInfo.maxNbLocalPlayers, nbActions, data, this); } MPInterface::~MPInterface() diff --git a/libksirtet/lib/wizard.cpp b/libksirtet/lib/wizard.cpp index 68537602..891a0c6d 100644 --- a/libksirtet/lib/wizard.cpp +++ b/libksirtet/lib/wizard.cpp @@ -81,10 +81,10 @@ void MPWizard::setupLocalPage(const MPGameInfo &gi) localPage->setMargin(KDialogBase::marginHint()); wl = new WidgetList<PlayerLine>(5, localPage); - TQSignalMapper *husm = new TQSignalMapper(TQT_TQOBJECT(this)); + TQSignalMapper *husm = new TQSignalMapper(this); if (gi.humanSettingSlot) connect(husm, TQT_SIGNAL(mapped(int)), gi.humanSettingSlot); - TQSignalMapper *aism = new TQSignalMapper(TQT_TQOBJECT(this)); + TQSignalMapper *aism = new TQSignalMapper(this); if (gi.AISettingSlot) connect(aism, TQT_SIGNAL(mapped(int)), gi.AISettingSlot); TDEConfigGroupSaver cg(kapp->config(), MP_GROUP); @@ -102,9 +102,9 @@ 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))); - husm->setMapping(TQT_TQOBJECT(pl), i); + husm->setMapping(pl, i); connect(pl, TQT_SIGNAL(setHuman()), husm, TQT_SLOT(map())); - aism->setMapping(TQT_TQOBJECT(pl), i); + aism->setMapping(pl, i); connect(pl, TQT_SIGNAL(setAI()), aism, TQT_SLOT(map())); wl->append(pl); } |