equal
deleted
inserted
replaced
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 //----------------------------------------------------------------------- |