diff options
Diffstat (limited to 'kreversi/highscores.cpp')
-rw-r--r-- | kreversi/highscores.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kreversi/highscores.cpp b/kreversi/highscores.cpp index 88317a87..1da40d26 100644 --- a/kreversi/highscores.cpp +++ b/kreversi/highscores.cpp @@ -45,23 +45,23 @@ ExtManager::ExtManager() setShowDrawGamesStatistic(true); const uint RANGE[6] = { 0, 32, 40, 48, 56, 64 }; - QMemArray<uint> s; + TQMemArray<uint> s; s.duplicate(RANGE, 6); setScoreHistogram(s, ScoreBound); } -QString ExtManager::gameTypeLabel(uint gameType, LabelType type) const +TQString ExtManager::gameTypeLabel(uint gameType, LabelType type) const { const Data &data = DATA[gameType]; switch (type) { case Icon: return data.icon; - case Standard: return QString::number(gameType); + case Standard: return TQString::number(gameType); case I18N: return i18n(data.label); case WW: break; } - return QString::null; + return TQString::null; } @@ -78,8 +78,8 @@ void ExtManager::convertLegacy(uint gameType) KConfigGroupSaver cg(kapp->config(), "High Score"); for (uint i = 1; i <= 10; i++) { - QString key = "Pos" + QString::number(i); - QString name = cg.config()->readEntry(key + "Name", QString::null); + TQString key = "Pos" + TQString::number(i); + TQString name = cg.config()->readEntry(key + "Name", TQString::null); if ( name.isEmpty() ) name = i18n("anonymous"); @@ -88,8 +88,8 @@ void ExtManager::convertLegacy(uint gameType) if ( score==0 ) continue; - QString sdate = cg.config()->readEntry(key + "Date", QString::null); - QDateTime date = QDateTime::fromString(sdate); + TQString sdate = cg.config()->readEntry(key + "Date", TQString::null); + TQDateTime date = TQDateTime::fromString(sdate); Score s(Won); s.setScore(score); |