22 #include <cmsvrecipientlist.h> |
22 #include <cmsvrecipientlist.h> |
23 #include "unieditorplugininterface.h" |
23 #include "unieditorplugininterface.h" |
24 #include "convergedmessage.h" |
24 #include "convergedmessage.h" |
25 #include "convergedmessageid.h" |
25 #include "convergedmessageid.h" |
26 #include "UniDataModel.h" |
26 #include "UniDataModel.h" |
|
27 #include "UniEditorGenUtils.h" |
|
28 |
27 // DATA TYPES |
29 // DATA TYPES |
28 |
30 |
29 // FORWARD DECLARATIONS |
31 // FORWARD DECLARATIONS |
30 |
32 |
31 class CClientMtmRegistry; |
33 class CClientMtmRegistry; |
228 |
230 |
229 /** |
231 /** |
230 * Populates converged message for default case |
232 * Populates converged message for default case |
231 */ |
233 */ |
232 void convertFromDefaultHandlerL(ConvergedMessage* aMessage); |
234 void convertFromDefaultHandlerL(ConvergedMessage* aMessage); |
|
235 |
|
236 /** |
|
237 * Handles own-number identification/deletion for composing reply-all |
|
238 * to a message |
|
239 * @param sourcemsg, message on which own-number logic is applied |
|
240 * @param targetmsg, message to which trimmed address list is committed |
|
241 */ |
|
242 void removeOwnNumberForReplyAll( |
|
243 ConvergedMessage* sourcemsg, |
|
244 ConvergedMessage* targetmsg); |
|
245 |
|
246 /** |
|
247 * Helper method to make a copy of address list |
|
248 * @param addrList, list of addresses to make a copy of |
|
249 * @return ConvergedMessageAddressList, copy of list of addresses |
|
250 */ |
|
251 ConvergedMessageAddressList copyAddrList( |
|
252 ConvergedMessageAddressList addrList); |
|
253 |
|
254 /** |
|
255 * Helper method to resolve contacts in an addresslist |
|
256 * @param addrList, list of addresses whose contacts need to be resolved |
|
257 */ |
|
258 void resolveContacts(ConvergedMessageAddressList addrList); |
|
259 |
|
260 /** |
|
261 * Helper method to check if a given address is self-address or not |
|
262 * @param address, address to be verified |
|
263 * @param selfAddrList, list of self-addresses |
|
264 * @return bool, true if address is a self-address |
|
265 */ |
|
266 bool isSelfAddress(QString address,QStringList selfAddrList); |
|
267 |
233 |
268 |
234 private: |
269 private: |
235 // Data |
270 // Data |
236 CMsvSession* iSession; |
271 CMsvSession* iSession; |
237 CClientMtmRegistry* iMtmRegistry; |
272 CClientMtmRegistry* iMtmRegistry; |