summaryrefslogtreecommitdiffstats
path: root/kpacman/referee.cpp
diff options
context:
space:
mode:
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())