messagingapp/msgui/appengine/src/conversationchangehandler.cpp
changeset 44 36f374c67aa8
parent 34 84197e66a4bd
child 52 12db4185673b
equal deleted inserted replaced
43:35b64624a9e7 44:36f374c67aa8
   112 //
   112 //
   113 void ConversationsChangeHandler::DeleteConversation(
   113 void ConversationsChangeHandler::DeleteConversation(
   114     const CCsConversationEntry& aConvEntry)
   114     const CCsConversationEntry& aConvEntry)
   115 {
   115 {
   116     mConversationsModel->deleteRow(aConvEntry.EntryId());
   116     mConversationsModel->deleteRow(aConvEntry.EntryId());
       
   117     
       
   118     //check if the CV model row count has become zero
       
   119     // then needs to emit signal
       
   120     if (mConversationsModel->rowCount() == 0)
       
   121     {
       
   122         mConversationsModel->emitConversationViewEmpty();
       
   123     }
   117 }
   124 }
   118 
   125 
   119 //-----------------------------------------------------------------------
   126 //-----------------------------------------------------------------------
   120 // This is for handling modify conversation event asynchronusly from the server
   127 // This is for handling modify conversation event asynchronusly from the server
   121 //-----------------------------------------------------------------------
   128 //-----------------------------------------------------------------------