summaryrefslogtreecommitdiffstats
path: root/knetwalk/src/highscores.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knetwalk/src/highscores.cpp')
-rw-r--r--knetwalk/src/highscores.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/knetwalk/src/highscores.cpp b/knetwalk/src/highscores.cpp
index 28742662..4bcbf922 100644
--- a/knetwalk/src/highscores.cpp
+++ b/knetwalk/src/highscores.cpp
@@ -31,14 +31,14 @@ namespace KExtHighscore
setShowStatistics(true);
*/
const uint RANGE[16] = { 0, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160 };
- QMemArray<uint> s;
+ TQMemArray<uint> s;
s.duplicate(RANGE, 16);
setScoreHistogram(s, ScoreNotBound);
//Item *item = new Item((uint)0, i18n("Clicks"), Qt::AlignRight);
//addScoreItem("nb_actions", item);
}
- QString ExtManager::gameTypeLabel(uint gameType, LabelType /*type*/) const
+ TQString ExtManager::gameTypeLabel(uint gameType, LabelType /*type*/) const
{
/*const Level::Data &data = Level::DATA[gameType];
switch (type) {
@@ -47,13 +47,13 @@ namespace KExtHighscore
case I18N: return i18n(level[gameType]);
case WW: return data.wwLabel;
}
- return QString::null;*/
+ return TQString::null;*/
return i18n(levels[gameType]);
}
void ExtManager::convertLegacy(uint gameType)
{
- QString group;
+ TQString group;
switch (gameType)
{
case Settings::EnumSkill::Novice: group = "Novice level"; break;
@@ -64,7 +64,7 @@ namespace KExtHighscore
}
KConfigGroupSaver cg(kapp->config(), group);
- QString name = cg.config()->readEntry("Name", QString::null);
+ TQString name = cg.config()->readEntry("Name", TQString::null);
if ( name.isNull() ) return;
if ( name.isEmpty() ) name = i18n("anonymous");
int score = cg.config()->readNumEntry("score", 0);