diff -r ecf6a73a9186 -r 60a8a215b0ec messagingapp/msgui/conversationview/src/msgconversationviewitem.cpp --- a/messagingapp/msgui/conversationview/src/msgconversationviewitem.cpp Tue Oct 05 13:58:47 2010 +0530 +++ b/messagingapp/msgui/conversationview/src/msgconversationviewitem.cpp Tue Oct 19 11:30:16 2010 +0530 @@ -28,6 +28,7 @@ #include #include #include +#include // USER INCLUDES #include "msgconversationwidget.h" @@ -153,6 +154,7 @@ mConversation->setIncoming(true); mIncomingMsgStateIconItem->setVisible(false); + HbEffect::add(this,"chatincoming_appear", "appear"); } else if (direction == ConvergedMessage::Outgoing) { @@ -162,7 +164,8 @@ int sendingState = index.data(SendingState).toInt(); mConversation->setSendingState(sendingState); setMessageStateIcon(sendingState); - } + HbEffect::add(this,"chatoutgoing_appear", "appear"); + } bool unreadStatus = index.data(UnReadStatus).toBool(); mConversation->setUnread(unreadStatus); @@ -220,8 +223,9 @@ else { mIncomingMsgStateIconItem->setVisible(false); - } } + HbEffect::add(this,"chatincoming_appear", "appear"); + } else if (direction == ConvergedMessage::Outgoing) { setIncoming(false); @@ -230,7 +234,8 @@ int sendingState = index.data(SendingState).toInt(); mConversation->setSendingState(sendingState); setMessageStateIcon(sendingState); - } + HbEffect::add(this,"chatoutgoing_appear", "appear"); + } bool unreadStatus = index.data(UnReadStatus).toBool(); mConversation->setUnread(unreadStatus); @@ -555,7 +560,8 @@ QString msgTimeStamp; if (ConvergedMessage::Resend == index.data(SendingState).toInt()) { - msgTimeStamp = LOC_RESEND_AT.arg(timeStampStr); + msgTimeStamp = LOC_RESEND_AT; + msgTimeStamp.append(" "+timeStampStr); } else { msgTimeStamp = timeStampStr; @@ -563,4 +569,13 @@ return msgTimeStamp; } +//--------------------------------------------------------------- +// MsgConversationViewItem::gestureEvent +// @see header file +//--------------------------------------------------------------- +void MsgConversationViewItem::gestureEvent(QGestureEvent *event) +{ + HbListViewItem::gestureEvent(event); +} + // EOF