phoneuis/ussdeditor/src/ussdeditorquery.cpp
changeset 72 c76a0b1755b9
parent 45 6b911d05207e
child 76 cfea66083b62
--- a/phoneuis/ussdeditor/src/ussdeditorquery.cpp	Thu Sep 02 20:26:16 2010 +0300
+++ b/phoneuis/ussdeditor/src/ussdeditorquery.cpp	Fri Sep 17 08:29:19 2010 +0300
@@ -17,12 +17,8 @@
 */
 
 // INCLUDE FILES
-#include <hbinputeditorinterface.h>
 #include <hbaction.h>
-#include <hbinputstandardfilters.h>
-#include <hbinputfilter.h> 
-#include <hbinputstate.h> 
-#include <hbinputvkbhost.h>
+#include <hbinputmethod.h>
 #include <hbapplication.h>
 #include <cphcltussdint.h>
 
@@ -53,11 +49,9 @@
         lineEdit()->setMaxLength(KUssdEditorMaxLength);
         lineEdit()->setMaxRows(KUssdMaxNumberOfEditorLines);
         lineEdit()->setText(QString());
-        lineEdit()->setFocus();
 
         // 0-9, *, +, #
-        HbEditorInterface inputMode(lineEdit());
-        inputMode.setFilter(HbPhoneNumberFilter::instance());
+        lineEdit()->setInputMethodHints(Qt::ImhDialableCharactersOnly);
 
         mComms.appStarting();
         // Disable Ok key by default