|
|
|
@ -136,7 +136,7 @@ highScoreDialog::highScoreDialog(TQWidget *parent) : KDialogBase(parent, 0, true
|
|
|
|
|
cfg -> setGroup(TQString("Level%1").arg(i));
|
|
|
|
|
for (int j = 1; j <= 5; j++)
|
|
|
|
|
{
|
|
|
|
|
m_scores[i-1].append(tqMakePair(cfg->readNumEntry(TQString("Score%1").arg(j)), cfg->readEntry(TQString("Name%1").arg(j))));
|
|
|
|
|
m_scores[i-1].append(qMakePair(cfg->readNumEntry(TQString("Score%1").arg(j)), cfg->readEntry(TQString("Name%1").arg(j))));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -166,7 +166,7 @@ void highScoreDialog::addScore(int level, int score, const TQString &name)
|
|
|
|
|
|
|
|
|
|
if (it != itEnd)
|
|
|
|
|
{
|
|
|
|
|
m_scores[level].insert(it, tqMakePair(score, name));
|
|
|
|
|
m_scores[level].insert(it, qMakePair(score, name));
|
|
|
|
|
m_scores[level].remove(--m_scores[level].end());
|
|
|
|
|
|
|
|
|
|
TDEConfig *cfg = kapp -> config();
|
|
|
|
|