summaryrefslogtreecommitdiffstats
path: root/libksirtet/common/highscores.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libksirtet/common/highscores.cpp')
-rw-r--r--libksirtet/common/highscores.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/libksirtet/common/highscores.cpp b/libksirtet/common/highscores.cpp
index 799a31b9..459b35af 100644
--- a/libksirtet/common/highscores.cpp
+++ b/libksirtet/common/highscores.cpp
@@ -22,14 +22,14 @@ void CommonHighscores::convertLegacy(uint)
{
KConfigGroupSaver cg(kapp->config(), "High Scores");
for (uint i=0; i<10; i++) {
- QString name
- = cg.config()->readEntry(QString("name%1").arg(i), QString::null);
+ TQString name
+ = cg.config()->readEntry(TQString("name%1").arg(i), TQString::null);
if ( name.isNull() ) break;
if ( name.isEmpty() ) name = i18n("anonymous");
uint score
- = cg.config()->readUnsignedNumEntry(QString("score%1").arg(i), 0);
+ = cg.config()->readUnsignedNumEntry(TQString("score%1").arg(i), 0);
uint level
- = cg.config()->readUnsignedNumEntry(QString("level%1").arg(i), 1);
+ = cg.config()->readUnsignedNumEntry(TQString("level%1").arg(i), 1);
Score s(Won);
s.setScore(score);
s.setData("name", name);
@@ -54,7 +54,7 @@ bool CommonHighscores::isStrictlyLess(const Score &s1, const Score &s2) const
void CommonHighscores::additionalQueryItems(KURL &url, const Score &s) const
{
uint l = s.data("level").toUInt();
- addToQueryURL(url, "scoreLevel", QString::number(l));
+ addToQueryURL(url, "scoreLevel", TQString::number(l));
uint r = s.data("removed").toUInt();
- addToQueryURL(url, "scoreRemoved", QString::number(r));
+ addToQueryURL(url, "scoreRemoved", TQString::number(r));
}