summaryrefslogtreecommitdiffstats
path: root/kpacman/referee.cpp
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-08-17 20:04:20 +0200
committergregory guy <gregory-tde@laposte.net>2020-08-17 20:04:20 +0200
commit2e2a3c5923526e5f0baa0b4b85d32afec6f19805 (patch)
tree74b2b4ac39c666b8479b91796c57287a7401bed1 /kpacman/referee.cpp
parent503fddb48f2229ecc6ed6930a99c4d740ff979e5 (diff)
downloadtdepacman-2e2a3c5923526e5f0baa0b4b85d32afec6f19805.tar.gz
tdepacman-2e2a3c5923526e5f0baa0b4b85d32afec6f19805.zip
third step, convert to tdelibs libraries.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
Diffstat (limited to 'kpacman/referee.cpp')
-rw-r--r--kpacman/referee.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kpacman/referee.cpp b/kpacman/referee.cpp
index bc8660b..efe0d12 100644
--- a/kpacman/referee.cpp
+++ b/kpacman/referee.cpp
@@ -1,5 +1,5 @@
#include <kapp.h>
-#include <kconfig.h>
+#include <tdeconfig.h>
#include <kstddirs.h>
#include <referee.h>
@@ -11,7 +11,7 @@
#include <ntqcolor.h>
#include <ntqkeycode.h>
#include <ntqfileinfo.h>
-#include <kaccel.h>
+#include <tdeaccel.h>
#include "board.h"
#include "pacman.h"
@@ -409,19 +409,19 @@ void Referee::initKeys()
{
TQString up("Up");
up = kapp->config()->readEntry("upKey", (const char*) up);
- UpKey = KAccel::stringToKey(up);
+ UpKey = TDEAccel::stringToKey(up);
TQString down("Down");
down = kapp->config()->readEntry("downKey", (const char*) down);
- DownKey = KAccel::stringToKey(down);
+ DownKey = TDEAccel::stringToKey(down);
TQString left("Left");
left = kapp->config()->readEntry("leftKey", (const char*) left);
- LeftKey = KAccel::stringToKey(left);
+ LeftKey = TDEAccel::stringToKey(left);
TQString right("Right");
right = kapp->config()->readEntry("rightKey", (const char*) right);
- RightKey = KAccel::stringToKey(right);
+ RightKey = TDEAccel::stringToKey(right);
}
void Referee::fillArray(TQArray<int> &array, TQString values, int max)
@@ -490,7 +490,7 @@ void Referee::fillMapName()
map = list.at(i);
if (map.left(1) != "/" && map.left(1) != "~")
- map = KGlobal::dirs()->findResource("appdata", mapDirectory+map);
+ map = TDEGlobal::dirs()->findResource("appdata", mapDirectory+map);
fileInfo.setFile(map);
if (!fileInfo.isReadable())