src/hbcore/inputfw/hbinputeditorinterface.cpp
changeset 21 4633027730f5
parent 7 923ff622b8b9
child 23 e6ad4ef83b23
--- a/src/hbcore/inputfw/hbinputeditorinterface.cpp	Tue Jul 06 14:36:53 2010 +0300
+++ b/src/hbcore/inputfw/hbinputeditorinterface.cpp	Wed Aug 18 10:05:37 2010 +0300
@@ -577,7 +577,7 @@
     setEditorClass(HbInputEditorClassEmail);
     setExtraDictionaryId(HbInputEditorClassEmail);
     setDigitType(HbDigitTypeNone);
-    mPrivate->setInputMethodHints(Qt::ImhNoPredictiveText | Qt::ImhPreferLowercase);
+    mPrivate->setInputMethodHints(Qt::ImhEmailCharactersOnly | Qt::ImhNoPredictiveText | Qt::ImhPreferLowercase);
 }
 
 /*!
@@ -587,11 +587,10 @@
 {
     setMode(HbInputModeNone);
     setInputConstraints(HbEditorConstraintLatinAlphabetOnly | HbEditorConstraintAutoCompletingField);
-    setFilter(HbUrlFilter::instance());
     setEditorClass(HbInputEditorClassUrl);
     setExtraDictionaryId(HbInputEditorClassUrl);
     setDigitType(HbDigitTypeNone);
-    mPrivate->setInputMethodHints(Qt::ImhNoPredictiveText | Qt::ImhPreferLowercase);
+    mPrivate->setInputMethodHints(Qt::ImhUrlCharactersOnly | Qt::ImhNoPredictiveText | Qt::ImhPreferLowercase);
 }
 
 /*!