src/hbplugins/inputmethods/hardwareinput/hbhardwareinputpredictionqwertyhandler.cpp
changeset 34 ed14f46c0e55
parent 1 f7ac710697a9
equal deleted inserted replaced
31:7516d6d86cf5 34:ed14f46c0e55
   160         break;
   160         break;
   161         }
   161         }
   162     case Qt::Key_Down:{
   162     case Qt::Key_Down:{
   163         q->actionHandler(HbInputModeHandler::HbInputModeActionLaunchCandidatePopup);
   163         q->actionHandler(HbInputModeHandler::HbInputModeActionLaunchCandidatePopup);
   164         break;
   164         break;
   165 		}
   165         }
   166 	case Qt::Key_Space:{
   166     case Qt::Key_Space:{
   167 		if (event->modifiers() & Qt::ControlModifier){
   167         if (event->modifiers() & Qt::ControlModifier){
   168 			if (HbInputSettingProxy::instance()->predictiveInputStatus()) {
   168             if (HbInputSettingProxy::instance()->predictiveInputStatus()) {
   169 					HbInputSettingProxy::instance()->setPredictiveInputStatus(0);
   169                     HbInputSettingProxy::instance()->setPredictiveInputStatus(0);
   170 				} else {
   170                 } else {
   171 					HbInputSettingProxy::instance()->setPredictiveInputStatus(1);
   171                     HbInputSettingProxy::instance()->setPredictiveInputStatus(1);
   172 				}
   172                 }
   173 			break;
   173             break;
   174 			}
   174             }
   175         }
   175         }
   176     default: {
   176     default: {
   177             int currentTextCase = focusObject->editorInterface().textCase();
   177             int currentTextCase = focusObject->editorInterface().textCase();
   178             mModifiers = Qt::NoModifier;
   178             mModifiers = Qt::NoModifier;
   179             if (mFnState == HbFnNext) {
   179             if (mFnState == HbFnNext) {