diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-20 18:26:21 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-27 11:03:54 +0900 |
| commit | bd4ee3ccc15d0776614a8435850a2eb1faf5a71f (patch) | |
| tree | c2ce8973a25d1e56e92a5a0b179693ed1f4f42ad /libksirtet/lib | |
| parent | 3191f81874fcfdd0466f6f42beb89da6245b1a0a (diff) | |
| download | tdegames-bd4ee3ccc15d0776614a8435850a2eb1faf5a71f.tar.gz tdegames-bd4ee3ccc15d0776614a8435850a2eb1faf5a71f.zip | |
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'libksirtet/lib')
| -rw-r--r-- | libksirtet/lib/mp_interface.cpp | 4 | ||||
| -rw-r--r-- | libksirtet/lib/wizard.cpp | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/libksirtet/lib/mp_interface.cpp b/libksirtet/lib/mp_interface.cpp index a18b3d0b..b38a4896 100644 --- a/libksirtet/lib/mp_interface.cpp +++ b/libksirtet/lib/mp_interface.cpp @@ -66,7 +66,7 @@ void MPInterface::dialog() TQPtrList<RemoteHostData> rhd; rhd.setAutoDelete(TRUE); if (cd.network) { - cId id(kapp->name(), gameInfo.gameId); + cId id(tdeApp->name(), gameInfo.gameId); MPOptionWidget *ow = newOptionWidget(); NetMeeting *nm; if (cd.server) nm = new ServerNetMeeting(id, cd.rhd, ow, rhd, this); @@ -95,7 +95,7 @@ void MPInterface::specialLocalGame(uint nbHumans, uint nbAIs) ConnectionData cd; BoardData bd; PlayerComboBox::Type t; - TDEConfigGroupSaver cg(kapp->config(), MP_GROUP); + TDEConfigGroupSaver cg(tdeApp->config(), MP_GROUP); for (uint i=0; i<(nbHumans+nbAIs); i++) { bd.type = (i<nbHumans ? PlayerComboBox::Human : PlayerComboBox::AI); bd.name = TQString(); diff --git a/libksirtet/lib/wizard.cpp b/libksirtet/lib/wizard.cpp index 8618d36d..6bd4451a 100644 --- a/libksirtet/lib/wizard.cpp +++ b/libksirtet/lib/wizard.cpp @@ -43,7 +43,7 @@ MPWizard::MPWizard(const MPGameInfo &gi, ConnectionData &_cd, //----------------------------------------------------------------------------- void MPWizard::setupTypePage() { - TDEConfigGroupSaver cg(kapp->config(), MP_GROUP); + TDEConfigGroupSaver cg(tdeApp->config(), MP_GROUP); typePage = new TQVBox(this); typePage->setMargin(KDialogBase::marginHint()); @@ -87,7 +87,7 @@ void MPWizard::setupLocalPage(const MPGameInfo &gi) TQSignalMapper *aism = new TQSignalMapper(this); if (gi.AISettingSlot) connect(aism, TQ_SIGNAL(mapped(int)), gi.AISettingSlot); - TDEConfigGroupSaver cg(kapp->config(), MP_GROUP); + TDEConfigGroupSaver cg(tdeApp->config(), MP_GROUP); TQString n; PlayerComboBox::Type type; PlayerLine *pl; @@ -135,7 +135,7 @@ void MPWizard::typeChanged(int t) str = "localhost"; lserver->setText(i18n("Hostname:")); } else { - TDEConfigGroupSaver cg(kapp->config(), MP_GROUP); + TDEConfigGroupSaver cg(tdeApp->config(), MP_GROUP); str = cg.config()->readEntry(MP_SERVER_ADDRESS, i18n("the.server.address")); lserver->setText(i18n("Server address:")); @@ -159,7 +159,7 @@ void MPWizard::lineTypeChanged(int) void MPWizard::accept() { - TDEConfigGroupSaver cg(kapp->config(), MP_GROUP); + TDEConfigGroupSaver cg(tdeApp->config(), MP_GROUP); cd.network = ( type!=Local ); cd.server = ( type!=Client ); |
