messagingapp/msgui/conversationview/inc/msgconversationviewitem.h
changeset 27 e4592d119491
parent 25 84d9eb65b26f
child 47 5b14749788d7
equal deleted inserted replaced
25:84d9eb65b26f 27:e4592d119491
    18 #ifndef MSG_CONVERSATION_VIEW_ITEM_H
    18 #ifndef MSG_CONVERSATION_VIEW_ITEM_H
    19 #define MSG_CONVERSATION_VIEW_ITEM_H
    19 #define MSG_CONVERSATION_VIEW_ITEM_H
    20 
    20 
    21 // INCLUDES
    21 // INCLUDES
    22 #include <HbListViewItem>
    22 #include <HbListViewItem>
       
    23 #include "convergedmessage.h"
    23 
    24 
    24 //Forward Declarations
    25 //Forward Declarations
    25 class MsgConversationWidget;
    26 class MsgConversationWidget;
    26 class HbTextItem;
    27 class HbTextItem;
    27 class HbIconItem;
    28 class HbIconItem;
    87 
    88 
    88     /**
    89     /**
    89      * Set the Icon that displays the message notification state.
    90      * Set the Icon that displays the message notification state.
    90      */
    91      */
    91     void setNotificationStateIcon(int notificationState);
    92     void setNotificationStateIcon(int notificationState);
       
    93     
       
    94     /*
       
    95      * Update item with sms content
       
    96      */
       
    97     void updateSmsTypeItem(const QModelIndex& index,int messageSubType = ConvergedMessage::None);
       
    98     
       
    99     /*
       
   100      * Update item with mms type content
       
   101      */
       
   102     void updateMmsTypeItem(const QModelIndex& index, int messageType,int messageSubType);
    92 
   103 
    93 protected:
   104 protected:
    94 
   105 
    95     /**
   106     /**
    96      * Reimplemented from HbAbstractViewItem.
   107      * Reimplemented from HbAbstractViewItem.