messagingapp/msgui/conversationview/src/msgeditorwidget.cpp
changeset 56 f42d9a78f435
parent 51 3507212d340e
child 67 fc91263aee62
equal deleted inserted replaced
55:5b3b2fa8c3ec 56:f42d9a78f435
   380 //---------------------------------------------------------------
   380 //---------------------------------------------------------------
   381 // MsgEditor::focusInEvent
   381 // MsgEditor::focusInEvent
   382 // @see header
   382 // @see header
   383 //---------------------------------------------------------------
   383 //---------------------------------------------------------------
   384 void MsgEditor::focusInEvent(QFocusEvent *event)
   384 void MsgEditor::focusInEvent(QFocusEvent *event)
   385  {
   385 	{
   386     if(event->reason() == Qt::MouseFocusReason)
   386 	HbLineEdit::focusInEvent(event);
   387     {
   387     FOCUSITEM->setFocusProxy(this);
   388         HbLineEdit::focusInEvent(event);
   388     setCursorVisibility(Hb::TextCursorVisible);
   389         FOCUSITEM->setFocusProxy(this);
   389     emit replyStarted();    
   390         setCursorVisibility(Hb::TextCursorVisible);
   390 	}
   391         emit replyStarted();
       
   392     }
       
   393     else
       
   394     {
       
   395         setCursorVisibility(Hb::TextCursorHidden);
       
   396     }
       
   397  }
       
   398 
   391 
   399 //---------------------------------------------------------------
   392 //---------------------------------------------------------------
   400 // MsgEditor::focusOutEvent
   393 // MsgEditor::focusOutEvent
   401 // @see header
   394 // @see header
   402 //---------------------------------------------------------------
   395 //---------------------------------------------------------------