summaryrefslogtreecommitdiffstats
path: root/kmines/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 /kmines/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 'kmines/highscores.cpp')
-rw-r--r--kmines/highscores.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmines/highscores.cpp b/kmines/highscores.cpp
index c0e40c10..565e9bf7 100644
--- a/kmines/highscores.cpp
+++ b/kmines/highscores.cpp
@@ -38,7 +38,7 @@ ExtManager::ExtManager()
setShowStatistics(true);
const uint RANGE[16] = { 1, 3120, 3180, 3240, 3300, 3360, 3420, 3480,
3510, 3540, 3550, 3560, 3570, 3580, 3590, 3600 };
- QMemArray<uint> s;
+ TQMemArray<uint> s;
s.duplicate(RANGE, 16);
setScoreHistogram(s, ScoreBound);
@@ -46,7 +46,7 @@ ExtManager::ExtManager()
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) {
@@ -55,12 +55,12 @@ QString ExtManager::gameTypeLabel(uint gameType, LabelType type) const
case I18N: return i18n(Level::LABELS[gameType]);
case WW: return data.wwLabel;
}
- return QString::null;
+ return TQString::null;
}
void ExtManager::convertLegacy(uint gameType)
{
- QString group;
+ TQString group;
switch ((Level::Type)gameType) {
case Level::Easy: group = "Easy level"; break;
case Level::Normal: group = "Normal level"; break;
@@ -69,7 +69,7 @@ void ExtManager::convertLegacy(uint gameType)
}
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");
uint minutes = cg.config()->readUnsignedNumEntry("Min", 0);