src/hbplugins/inputmethods/touchinput/hbinputpredictionqwertyhandler.cpp
changeset 23 e6ad4ef83b23
parent 21 4633027730f5
child 28 b7da29130b0e
--- a/src/hbplugins/inputmethods/touchinput/hbinputpredictionqwertyhandler.cpp	Wed Aug 18 10:05:37 2010 +0300
+++ b/src/hbplugins/inputmethods/touchinput/hbinputpredictionqwertyhandler.cpp	Thu Sep 02 20:44:51 2010 +0300
@@ -115,29 +115,29 @@
                 else {
                     currentTextCase = HbTextCaseAutomatic;
                 }
-                break;				
-            case HbTextCaseUpper:	
-                currentTextCase = HbTextCaseLower;				
+                break;              
+            case HbTextCaseUpper:   
+                currentTextCase = HbTextCaseLower;              
                 break;
             case HbTextCaseAutomatic:
-                currentTextCase = HbTextCaseUpper;				                
+                currentTextCase = HbTextCaseUpper;                              
                 break;
             default:
                 break;
             }
             HbInputState state = mInputMethod->inputState();
-            state.setTextCase(currentTextCase);			
+            state.setTextCase(currentTextCase);         
             mInputMethod->activateState(state);
         }
         break;
     case HbInputButton::ButtonKeyCodeSymbol: { // Ctrl/Chr
     case HbInputButton::ButtonKeyCodeAlphabet:
         mInputMethod->switchSpecialCharacterTable();
-        }		
+        }       
         break;
     case HbInputButton::ButtonKeyCodeSettings:
         mInputMethod->closeExactWordPopup();
-		break;
+        break;
     default: {
             HbTextCase currentTextCase = focusObject->editorInterface().textCase();
             Qt::KeyboardModifiers modifiers = Qt::NoModifier;
@@ -288,7 +288,7 @@
 }
 
 void HbInputPredictionQwertyHandler::sctCharacterSelected(QString character)
-{	
+{   
     HbInputPredictionHandler::sctCharacterSelected(character);
 }
 
@@ -358,7 +358,7 @@
         // once the word is committed, we can not bring it back to inline edit.
         // so if the engine does not have any data, we just send backspace event to the editor.
         Q_Q(HbInputPredictionQwertyHandler);
-        QKeyEvent event = QKeyEvent(QEvent::KeyPress, Qt::Key_Backspace, Qt::NoModifier);		
+        QKeyEvent event = QKeyEvent(QEvent::KeyPress, Qt::Key_Backspace, Qt::NoModifier);       
         q->sendAndUpdate(event);
         event = QKeyEvent(QEvent::KeyRelease, Qt::Key_Backspace, Qt::NoModifier);
         q->sendAndUpdate(event);
@@ -434,7 +434,7 @@
                     list.append(QInputMethodEvent::Attribute(QInputMethodEvent::TextFormat, 0, QInputMethodEvent::TextFormat, gray));
                 } else {
                     list.append(QInputMethodEvent::Attribute(QInputMethodEvent::TextFormat, mEngine->inputLength(), taillength, gray));
-                }				
+                }               
                 list.append(QInputMethodEvent::Attribute(QInputMethodEvent::Cursor, mEngine->inputLength(), 0, 0));
                 // the best guess word is sent to the editor
                 QInputMethodEvent event(bestGuessWord, list);