Remove some deprecated kde2 stuff.

warning: ‘static int TDEAccel::stringToKey(const TQString&)’ is deprecated

Signed-off-by: gregory guy <gregory-tde@laposte.net>
pull/1/head
gregory guy 4 years ago
parent f8c20067ac
commit ac81a3c3e8
No known key found for this signature in database
GPG Key ID: 3BCCA0F7AB4536F4

@ -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)

@ -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)

Loading…
Cancel
Save