summaryrefslogtreecommitdiffstats
path: root/kpacman/referee.cpp
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-08-21 14:42:44 +0200
committergregory guy <gregory-tde@laposte.net>2020-08-24 17:20:16 +0200
commita212e6154c5d748ef6068fc3539790d4c806bfc5 (patch)
tree75a5b5057a321546d4cb7b4ae9a220c492db7fbc /kpacman/referee.cpp
parenta451e44f4ac9838eca11731780be425a1f46a0b8 (diff)
downloadtdepacman-a212e6154c5d748ef6068fc3539790d4c806bfc5.tar.gz
tdepacman-a212e6154c5d748ef6068fc3539790d4c806bfc5.zip
Remove some deprecated Qt2 stuff.
TQArray vs TQMemArray. Signed-off-by: gregory guy <gregory-tde@laposte.net>
Diffstat (limited to 'kpacman/referee.cpp')
-rw-r--r--kpacman/referee.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kpacman/referee.cpp b/kpacman/referee.cpp
index 6051365..dc1a53e 100644
--- a/kpacman/referee.cpp
+++ b/kpacman/referee.cpp
@@ -424,7 +424,7 @@ void Referee::initKeys()
RightKey = TDEAccel::stringToKey(right);
}
-void Referee::fillArray(TQArray<int> &array, TQString values, int max)
+void Referee::fillArray(TQMemArray<int> &array, TQString values, int max)
{
if (max < 0)
max = values.contains(',')+1;
@@ -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.data(), WHITE, TQColor(), AlignRight), FALSE);
+ repaint(pix->draw(28, 44, RoomPix, pts.local8Bit(), 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.data(), WHITE, TQColor(), AlignRight), FALSE);
+ repaint(pix->draw(28, 48, RoomPix, pts.local8Bit(), WHITE, TQColor(), AlignRight), FALSE);
repaint(pix->draw(31, 48, RoomPix, "\x1C\x1D\x1E", WHITE, TQColor(), AlignLeft), FALSE);
break;
case 14 : // "@ 1980 MIDWAY MFG.CO."