messagingapp/msgui/conversationview/inc/msgconversationviewitem.h
branchGCC_SURGE
changeset 47 5b14749788d7
parent 27 e4592d119491
parent 43 35b64624a9e7
--- a/messagingapp/msgui/conversationview/inc/msgconversationviewitem.h	Thu Jun 17 09:57:06 2010 +0100
+++ b/messagingapp/msgui/conversationview/inc/msgconversationviewitem.h	Thu Jul 22 16:32:06 2010 +0100
@@ -94,13 +94,28 @@
     /*
      * Update item with sms content
      */
-    void updateSmsTypeItem(const QModelIndex& index,int messageSubType = ConvergedMessage::None);
-    
+    void updateSmsTypeItem(const QModelIndex& index, int messageSubType =
+            ConvergedMessage::None);
+
     /*
      * Update item with mms type content
      */
-    void updateMmsTypeItem(const QModelIndex& index, int messageType,int messageSubType);
+    void updateMmsTypeItem(const QModelIndex& index, int messageType,
+        int messageSubType);
+
+    /*
+     * Initializes the msgconverstionviewitem
+     */
+    void init();
 
+private slots:    
+
+    /*
+     * Handler for orientation changed
+     * @param orientation Qt::Orientation
+     */
+    void orientationchanged(Qt::Orientation orientation);
+    
 protected:
 
     /**
@@ -125,10 +140,17 @@
     MsgConversationWidget *mConversation;
 
     /**
+     * Graphics Item to hold message incoming state. 
+     * Applicable for notification
+     * Owned
+     */
+    HbIconItem *mIncomingMsgStateIconItem;
+
+    /**
      * Graphics Item to hold message sending state.
      * Owned
      */
-    HbIconItem *mMessageStateIconItem;
+    HbIconItem *mOutgoingMsgStateIconItem;
 };
 
 #endif // MSG_CONVERSATION_VIEW_ITEM_H