diff options
Diffstat (limited to 'libksirtet/lib/mp_interface.cpp')
-rw-r--r-- | libksirtet/lib/mp_interface.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libksirtet/lib/mp_interface.cpp b/libksirtet/lib/mp_interface.cpp index a0a5c10b..e28ebdf8 100644 --- a/libksirtet/lib/mp_interface.cpp +++ b/libksirtet/lib/mp_interface.cpp @@ -2,7 +2,7 @@ #include "mp_interface.moc" #include <tqpainter.h> -#include <layout.h> +#include <tqlayout.h> #include <klocale.h> #include <kmessagebox.h> @@ -100,14 +100,14 @@ void MPInterface::specialLocalGame(uint nbHumans, uint nbAIs) bd.type = (i<nbHumans ? PlayerComboBox::Human : PlayerComboBox::AI); bd.name = TQString(); t = (PlayerComboBox::Type) - cg.config()->readNumEntry(TQString(MP_PLAYER_TYPE).arg(i), + cg.config()->readNumEntry(TQString(MP_PLAYER_TYPE).tqarg(i), PlayerComboBox::None); if ( bd.type==t ) - bd.name = cg.config()->readEntry(TQString(MP_PLAYER_NAME).arg(i), + bd.name = cg.config()->readEntry(TQString(MP_PLAYER_NAME).tqarg(i), TQString()); if ( bd.name.isNull() ) - bd.name = (i<nbHumans ? i18n("Human %1").arg(i+1) - : i18n("AI %1").arg(i-nbHumans+1)); + bd.name = (i<nbHumans ? i18n("Human %1").tqarg(i+1) + : i18n("AI %1").tqarg(i-nbHumans+1)); cd.rhd.bds += bd; } cd.server = TRUE; |