summaryrefslogtreecommitdiffstats
path: root/kpacman/referee.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpacman/referee.cpp')
-rw-r--r--kpacman/referee.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kpacman/referee.cpp b/kpacman/referee.cpp
index dc1a53e..af5c566 100644
--- a/kpacman/referee.cpp
+++ b/kpacman/referee.cpp
@@ -408,19 +408,19 @@ void Referee::repaintFigures()
void Referee::initKeys()
{
TQString up("Up");
- up = kapp->config()->readEntry("upKey", (const char*) up);
+ up = kapp->config()->readEntry("upKey", up);
UpKey = TDEAccel::stringToKey(up);
TQString down("Down");
- down = kapp->config()->readEntry("downKey", (const char*) down);
+ down = kapp->config()->readEntry("downKey", down);
DownKey = TDEAccel::stringToKey(down);
TQString left("Left");
- left = kapp->config()->readEntry("leftKey", (const char*) left);
+ left = kapp->config()->readEntry("leftKey", left);
LeftKey = TDEAccel::stringToKey(left);
TQString right("Right");
- right = kapp->config()->readEntry("rightKey", (const char*) right);
+ right = kapp->config()->readEntry("rightKey", right);
RightKey = TDEAccel::stringToKey(right);
}
@@ -471,7 +471,7 @@ void Referee::fillStrList(TQStrList &list, TQString values, int max)
if (!value.isEmpty())
last = value;
- list.append(last);
+ list.append(last.latin1());
}
}
@@ -495,8 +495,8 @@ void Referee::fillMapName()
fileInfo.setFile(map);
if (!fileInfo.isReadable())
map = "";
-
- mapName.append(map);
+
+ mapName.append(map.utf8());
}
}
@@ -901,10 +901,10 @@ void Referee::introPaint(int t)
case 12 : repaint(pix->draw(38, 28, RoomPix, i18n("\"CLYDE\""), ORANGE, TQColor(), AlignLeft), FALSE);
break;
case 13 : pts.sprintf("%d", pointScore);
- repaint(pix->draw(28, 44, RoomPix, pts.local8Bit(), WHITE, TQColor(), AlignRight), FALSE);
+ repaint(pix->draw(28, 44, RoomPix, pts, WHITE, TQColor(), AlignRight), FALSE);
repaint(pix->draw(31, 44, RoomPix, "\x1C\x1D\x1E", WHITE, TQColor(), AlignLeft), FALSE);
pts.sprintf("%d", energizerScore);
- repaint(pix->draw(28, 48, RoomPix, pts.local8Bit(), WHITE, TQColor(), AlignRight), FALSE);
+ repaint(pix->draw(28, 48, RoomPix, pts, WHITE, TQColor(), AlignRight), FALSE);
repaint(pix->draw(31, 48, RoomPix, "\x1C\x1D\x1E", WHITE, TQColor(), AlignLeft), FALSE);
break;
case 14 : // "@ 1980 MIDWAY MFG.CO."