messagingapp/msgui/unifiededitor/src/msgunieditorlineedit.cpp
changeset 43 35b64624a9e7
parent 34 84197e66a4bd
equal deleted inserted replaced
34:84197e66a4bd 43:35b64624a9e7
   104         }
   104         }
   105         else if(this->hasSelectedText())
   105         else if(this->hasSelectedText())
   106         {// all user inputs get appended at the end
   106         {// all user inputs get appended at the end
   107             this->setCursorPosition(this->text().length());
   107             this->setCursorPosition(this->text().length());
   108         }
   108         }
   109 
   109     }
   110         HbAbstractEdit::inputMethodEvent(event);
   110     
   111         event->accept();
   111     HbAbstractEdit::inputMethodEvent(event);
   112     }
   112     event->accept();
   113 }
   113 }
   114 
   114 
   115 void MsgUnifiedEditorLineEdit::keyPressEvent(QKeyEvent *event)
   115 void MsgUnifiedEditorLineEdit::keyPressEvent(QKeyEvent *event)
   116 {
   116 {
   117     QString str = event->text();
   117     QString str = event->text();