summaryrefslogtreecommitdiffstats
path: root/libksirtet/common/highscores.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
commit576eb4299a00bc053db35414406f46372a0f70f2 (patch)
tree4c030922d533821db464af566188e7d40cc8848c /libksirtet/common/highscores.cpp
parent0718336b6017d1a4fc1d626544180a5a2a29ddec (diff)
downloadtdegames-576eb4299a00bc053db35414406f46372a0f70f2.tar.gz
tdegames-576eb4299a00bc053db35414406f46372a0f70f2.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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));
}