diff -r f7ac710697a9 -r 06ff229162e9 src/hbplugins/inputmethods/common/hbinputnumerichandler.cpp --- a/src/hbplugins/inputmethods/common/hbinputnumerichandler.cpp Mon May 03 12:48:33 2010 +0300 +++ b/src/hbplugins/inputmethods/common/hbinputnumerichandler.cpp Fri May 14 16:09:54 2010 +0300 @@ -22,6 +22,8 @@ ** Nokia at developer.feedback@nokia.com. ** ****************************************************************************/ +#include + #include "hbinputnumerichandler_p.h" #include "hbinputabstractbase.h" @@ -53,16 +55,15 @@ bool ret = true; switch (event->key()) { case Qt::Key_Backspace: - case Qt::Key_Delete: { + case HbInputButton::ButtonKeyCodeDelete: { QKeyEvent keyEvent(QEvent::KeyPress, Qt::Key_Backspace, Qt::NoModifier); sendAndUpdate(keyEvent); // return false since the event is sent forward ret = false; break; } - case Qt::Key_Return: - case Qt::Key_Enter: - case Qt::Key_Space: + case HbInputButton::ButtonKeyCodeEnter: + case HbInputButton::ButtonKeyCodeSpace: case Qt::Key_Period: case Qt::Key_Comma: { QChar qc(event->key());