102 // |
102 // |
103 void ConversationsChangeHandler::ModifyConversation( |
103 void ConversationsChangeHandler::ModifyConversation( |
104 const CCsConversationEntry& aConvEntry) |
104 const CCsConversationEntry& aConvEntry) |
105 { |
105 { |
106 mConversationsModel->addRow(aConvEntry, true); |
106 mConversationsModel->addRow(aConvEntry, true); |
107 ConversationsEngine::instance()->emitConversationModelUpdated(); |
|
108 } |
107 } |
109 |
108 |
110 // --------------------------------------------------------------------------- |
109 // --------------------------------------------------------------------------- |
111 // Handling deletion of conversation entry from the server |
110 // Handling deletion of conversation entry from the server |
112 // --------------------------------------------------------------------------- |
111 // --------------------------------------------------------------------------- |
113 // |
112 // |
114 void ConversationsChangeHandler::DeleteConversation( |
113 void ConversationsChangeHandler::DeleteConversation( |
115 const CCsConversationEntry& aConvEntry) |
114 const CCsConversationEntry& aConvEntry) |
116 { |
115 { |
117 mConversationsModel->deleteRow(aConvEntry.EntryId()); |
116 mConversationsModel->deleteRow(aConvEntry.EntryId()); |
118 ConversationsEngine::instance()->emitConversationModelUpdated(); |
|
119 } |
117 } |
120 |
118 |
121 //----------------------------------------------------------------------- |
119 //----------------------------------------------------------------------- |
122 // This is for handling modify conversation event asynchronusly from the server |
120 // This is for handling modify conversation event asynchronusly from the server |
123 //----------------------------------------------------------------------- |
121 //----------------------------------------------------------------------- |