summaryrefslogtreecommitdiffstats
path: root/kenolaba/EvalScheme.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:58:53 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:58:53 -0600
commit84ace1135cac57993b72fee7105b92def1638d32 (patch)
treeb8871eb76e3db4a062731b0ce7c99c24fac119e8 /kenolaba/EvalScheme.cpp
parent97d1732e257f8700488d7ca1660ae7eba8fc6065 (diff)
downloadtdegames-84ace1135cac57993b72fee7105b92def1638d32.tar.gz
tdegames-84ace1135cac57993b72fee7105b92def1638d32.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 97d1732e257f8700488d7ca1660ae7eba8fc6065.
Diffstat (limited to 'kenolaba/EvalScheme.cpp')
-rw-r--r--kenolaba/EvalScheme.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kenolaba/EvalScheme.cpp b/kenolaba/EvalScheme.cpp
index d884f398..0d179a85 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").arg(_name);
+ TQString confSection = TQString("%1 Evaluation Scheme").tqarg(_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").arg(_name);
+ TQString confSection = TQString("%1 Evaluation Scheme").tqarg(_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").arg( _moveValue[i] );
+ entry += TQString(", %1").tqarg( _moveValue[i] );
config->writeEntry("MoveValues", entry);
entry.sprintf("%d", _inARowValue[0]);
for(int i=1;i<InARowCounter::inARowCount;i++)
- entry += TQString(", %1").arg( _inARowValue[i] );
+ entry += TQString(", %1").tqarg( _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").arg( _stoneValue[i] );
+ res += TQString(",%1").tqarg( _stoneValue[i] );
for(i=0;i<Move::typeCount;i++)
- res += TQString(",%1").arg( _moveValue[i] );
+ res += TQString(",%1").tqarg( _moveValue[i] );
for(i=0;i<InARowCounter::inARowCount;i++)
- res += TQString(",%1").arg( _inARowValue[i] );
+ res += TQString(",%1").tqarg( _inARowValue[i] );
for(i=0;i<5;i++)
- res += TQString(",%1").arg( _ringValue[i] );
+ res += TQString(",%1").tqarg( _ringValue[i] );
for(i=0;i<5;i++)
- res += TQString(",%1").arg( _ringDiff[i] );
+ res += TQString(",%1").tqarg( _ringDiff[i] );
return res;
}