diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:55:35 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-04 01:10:53 +0200 |
commit | 00e58f1937047eb6c23edbdb3ae7ed5feec7a572 (patch) | |
tree | 33b3465e8515be992049db8cc3fd529660f9731a /kenolaba/EvalScheme.cpp | |
parent | 9e8c9cf72cdda55e3c96c7ef072c3358061d53c9 (diff) | |
download | tdegames-00e58f1937047eb6c23edbdb3ae7ed5feec7a572.tar.gz tdegames-00e58f1937047eb6c23edbdb3ae7ed5feec7a572.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit c0f375feba0103bed2bac1b1f05e76e9ae28fa89)
Diffstat (limited to 'kenolaba/EvalScheme.cpp')
-rw-r--r-- | kenolaba/EvalScheme.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kenolaba/EvalScheme.cpp b/kenolaba/EvalScheme.cpp index 0d179a85..d884f398 100644 --- a/kenolaba/EvalScheme.cpp +++ b/kenolaba/EvalScheme.cpp @@ -76,7 +76,7 @@ void EvalScheme::setDefaults() void EvalScheme::read(KConfig *config) { - TQString confSection = TQString("%1 Evaluation Scheme").tqarg(_name); + TQString confSection = TQString("%1 Evaluation Scheme").arg(_name); config->setGroup(confSection); TQStringList list; @@ -117,7 +117,7 @@ void EvalScheme::read(KConfig *config) void EvalScheme::save(KConfig* config) { - TQString confSection = TQString("%1 Evaluation Scheme").tqarg(_name); + TQString confSection = TQString("%1 Evaluation Scheme").arg(_name); config->setGroup(confSection); TQString entry; @@ -128,12 +128,12 @@ void EvalScheme::save(KConfig* config) entry.sprintf("%d", _moveValue[0]); for(int i=1;i<Move::typeCount;i++) - entry += TQString(", %1").tqarg( _moveValue[i] ); + entry += TQString(", %1").arg( _moveValue[i] ); config->writeEntry("MoveValues", entry); entry.sprintf("%d", _inARowValue[0]); for(int i=1;i<InARowCounter::inARowCount;i++) - entry += TQString(", %1").tqarg( _inARowValue[i] ); + entry += TQString(", %1").arg( _inARowValue[i] ); config->writeEntry("InARowValues", entry); entry.sprintf("%d,%d,%d,%d,%d", _ringValue[0], _ringValue[1], @@ -217,15 +217,15 @@ TQString EvalScheme::ascii() res.sprintf("%s=%d", _name.ascii(), _stoneValue[1]); for(i=1;i<6;i++) - res += TQString(",%1").tqarg( _stoneValue[i] ); + res += TQString(",%1").arg( _stoneValue[i] ); for(i=0;i<Move::typeCount;i++) - res += TQString(",%1").tqarg( _moveValue[i] ); + res += TQString(",%1").arg( _moveValue[i] ); for(i=0;i<InARowCounter::inARowCount;i++) - res += TQString(",%1").tqarg( _inARowValue[i] ); + res += TQString(",%1").arg( _inARowValue[i] ); for(i=0;i<5;i++) - res += TQString(",%1").tqarg( _ringValue[i] ); + res += TQString(",%1").arg( _ringValue[i] ); for(i=0;i<5;i++) - res += TQString(",%1").tqarg( _ringDiff[i] ); + res += TQString(",%1").arg( _ringDiff[i] ); return res; } |