equal
deleted
inserted
replaced
24 // FORWARD DECLARATIONS |
24 // FORWARD DECLARATIONS |
25 class HbListView; |
25 class HbListView; |
26 class HbAbstractViewItem; |
26 class HbAbstractViewItem; |
27 class HbListWidget; |
27 class HbListWidget; |
28 class HbListWidgetItem; |
28 class HbListWidgetItem; |
|
29 class HbAction; |
|
30 class QGraphicsLinearLayout; |
29 |
31 |
30 /** |
32 /** |
31 * This class provides the message list view for the messaging application. |
33 * This class provides the message list view for the messaging application. |
32 * Data source for this view is the conversation list model. |
34 * Data source for this view is the conversation list model. |
33 */ |
35 */ |
107 /** |
109 /** |
108 * Opens contact card for resolved contact. |
110 * Opens contact card for resolved contact. |
109 */ |
111 */ |
110 void contactInfo(); |
112 void contactInfo(); |
111 |
113 |
|
114 /** |
|
115 * This slot is called when delete message dialog is launched. |
|
116 * @param action selected action (yes or no). |
|
117 */ |
|
118 void onDialogDeleteMsg(HbAction* action); |
|
119 |
|
120 /** |
|
121 * This slot is called when appengine emits the partialdeleteconversationlist event. |
|
122 * This performs grab of the HbAbstractviewitem on which delete was called. |
|
123 * @param conversation id of the item. |
|
124 */ |
|
125 void enableListitem( int conversationId ); |
|
126 |
112 private: |
127 private: |
113 |
128 |
114 /** |
129 /** |
115 * Initialize the list view inside the main view |
130 * Initialize the list view inside the main view |
116 */ |
131 */ |
145 enum viewExtnIds |
160 enum viewExtnIds |
146 { |
161 { |
147 DRAFTS_EXTN = 0x00, CONVERSATIONS_EXTN = 0x01 |
162 DRAFTS_EXTN = 0x00, CONVERSATIONS_EXTN = 0x01 |
148 }; |
163 }; |
149 |
164 |
|
165 /** |
|
166 * Main layout |
|
167 * Own |
|
168 */ |
|
169 QGraphicsLinearLayout *mMainLayout; |
150 }; |
170 }; |
151 |
171 |
152 #endif // MSG_LIST_VIEW_H |
172 #endif // MSG_LIST_VIEW_H |