diff options
-rw-r--r-- | kpacman/referee.cpp | 8 | ||||
-rw-r--r-- | kpacman/score.cpp | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/kpacman/referee.cpp b/kpacman/referee.cpp index af5c566..1f4e2bc 100644 --- a/kpacman/referee.cpp +++ b/kpacman/referee.cpp @@ -409,19 +409,19 @@ void Referee::initKeys() { TQString up("Up"); up = kapp->config()->readEntry("upKey", up); - UpKey = TDEAccel::stringToKey(up); + UpKey = TDEShortcut(up); TQString down("Down"); down = kapp->config()->readEntry("downKey", down); - DownKey = TDEAccel::stringToKey(down); + DownKey = TDEShortcut(down); TQString left("Left"); left = kapp->config()->readEntry("leftKey", left); - LeftKey = TDEAccel::stringToKey(left); + LeftKey = TDEShortcut(left); TQString right("Right"); right = kapp->config()->readEntry("rightKey", right); - RightKey = TDEAccel::stringToKey(right); + RightKey = TDEShortcut(right); } void Referee::fillArray(TQMemArray<int> &array, TQString values, int max) diff --git a/kpacman/score.cpp b/kpacman/score.cpp index fa52583..c87bb96 100644 --- a/kpacman/score.cpp +++ b/kpacman/score.cpp @@ -251,19 +251,19 @@ void Score::initKeys() { TQString up("Up"); up = kapp->config()->readEntry("upKey", up); - UpKey = TDEAccel::stringToKey(up); + UpKey = TDEShortcut(up); TQString down("Down"); down = kapp->config()->readEntry("downKey", down); - DownKey = TDEAccel::stringToKey(down); + DownKey = TDEShortcut(down); TQString left("Left"); left = kapp->config()->readEntry("leftKey", left); - LeftKey = TDEAccel::stringToKey(left); + LeftKey = TDEShortcut(left); TQString right("Right"); right = kapp->config()->readEntry("rightKey", right); - RightKey = TDEAccel::stringToKey(right); + RightKey = TDEShortcut(right); } void Score::confTiming(bool defGroup) |