messagingapp/msgui/conversationview/inc/msgconversationviewitem.h
changeset 34 84197e66a4bd
parent 31 ebfee66fde93
child 43 35b64624a9e7
equal deleted inserted replaced
31:ebfee66fde93 34:84197e66a4bd
    92     void setNotificationStateIcon(int notificationState);
    92     void setNotificationStateIcon(int notificationState);
    93     
    93     
    94     /*
    94     /*
    95      * Update item with sms content
    95      * Update item with sms content
    96      */
    96      */
    97     void updateSmsTypeItem(const QModelIndex& index,int messageSubType = ConvergedMessage::None);
    97     void updateSmsTypeItem(const QModelIndex& index, int messageSubType =
    98     
    98             ConvergedMessage::None);
       
    99 
    99     /*
   100     /*
   100      * Update item with mms type content
   101      * Update item with mms type content
   101      */
   102      */
   102     void updateMmsTypeItem(const QModelIndex& index, int messageType,int messageSubType);
   103     void updateMmsTypeItem(const QModelIndex& index, int messageType,
       
   104         int messageSubType);
       
   105 
       
   106     /*
       
   107      * Initializes the msgconverstionviewitem
       
   108      */
       
   109     void init();
   103 
   110 
   104 protected:
   111 protected:
   105 
   112 
   106     /**
   113     /**
   107      * Reimplemented from HbAbstractViewItem.
   114      * Reimplemented from HbAbstractViewItem.
   123      * Owned
   130      * Owned
   124      */
   131      */
   125     MsgConversationWidget *mConversation;
   132     MsgConversationWidget *mConversation;
   126 
   133 
   127     /**
   134     /**
       
   135      * Graphics Item to hold message incoming state. 
       
   136      * Applicable for notification
       
   137      * Owned
       
   138      */
       
   139     HbIconItem *mIncomingMsgStateIconItem;
       
   140 
       
   141     /**
   128      * Graphics Item to hold message sending state.
   142      * Graphics Item to hold message sending state.
   129      * Owned
   143      * Owned
   130      */
   144      */
   131     HbIconItem *mMessageStateIconItem;
   145     HbIconItem *mOutgoingMsgStateIconItem;
   132 };
   146 };
   133 
   147 
   134 #endif // MSG_CONVERSATION_VIEW_ITEM_H
   148 #endif // MSG_CONVERSATION_VIEW_ITEM_H
   135 // EOF
   149 // EOF