equal
deleted
inserted
replaced
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); |
103 |
105 |
|
106 /* |
|
107 * Initializes the msgconverstionviewitem |
|
108 */ |
|
109 void init(); |
|
110 |
|
111 private slots: |
|
112 |
|
113 /* |
|
114 * Handler for orientation changed |
|
115 * @param orientation Qt::Orientation |
|
116 */ |
|
117 void orientationchanged(Qt::Orientation orientation); |
|
118 |
104 protected: |
119 protected: |
105 |
120 |
106 /** |
121 /** |
107 * Reimplemented from HbAbstractViewItem. |
122 * Reimplemented from HbAbstractViewItem. |
108 * This function is called whenever item press state changes. |
123 * This function is called whenever item press state changes. |
123 * Owned |
138 * Owned |
124 */ |
139 */ |
125 MsgConversationWidget *mConversation; |
140 MsgConversationWidget *mConversation; |
126 |
141 |
127 /** |
142 /** |
|
143 * Graphics Item to hold message incoming state. |
|
144 * Applicable for notification |
|
145 * Owned |
|
146 */ |
|
147 HbIconItem *mIncomingMsgStateIconItem; |
|
148 |
|
149 /** |
128 * Graphics Item to hold message sending state. |
150 * Graphics Item to hold message sending state. |
129 * Owned |
151 * Owned |
130 */ |
152 */ |
131 HbIconItem *mMessageStateIconItem; |
153 HbIconItem *mOutgoingMsgStateIconItem; |
132 }; |
154 }; |
133 |
155 |
134 #endif // MSG_CONVERSATION_VIEW_ITEM_H |
156 #endif // MSG_CONVERSATION_VIEW_ITEM_H |
135 // EOF |
157 // EOF |