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 e28ebdf8..a0a5c10b 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 <tqlayout.h> +#include <layout.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).tqarg(i), + cg.config()->readNumEntry(TQString(MP_PLAYER_TYPE).arg(i), PlayerComboBox::None); if ( bd.type==t ) - bd.name = cg.config()->readEntry(TQString(MP_PLAYER_NAME).tqarg(i), + bd.name = cg.config()->readEntry(TQString(MP_PLAYER_NAME).arg(i), TQString()); if ( bd.name.isNull() ) - bd.name = (i<nbHumans ? i18n("Human %1").tqarg(i+1) - : i18n("AI %1").tqarg(i-nbHumans+1)); + bd.name = (i<nbHumans ? i18n("Human %1").arg(i+1) + : i18n("AI %1").arg(i-nbHumans+1)); cd.rhd.bds += bd; } cd.server = TRUE; |