equal
deleted
inserted
replaced
112 /** |
112 /** |
113 * This slot is called when the orientation is about to bechanged |
113 * This slot is called when the orientation is about to bechanged |
114 */ |
114 */ |
115 void onOrientationAboutToBeChanged(); |
115 void onOrientationAboutToBeChanged(); |
116 |
116 |
117 /** |
|
118 * This slot is called when the view is successfully added to main window |
|
119 */ |
|
120 void onViewReady(); |
|
121 |
|
122 private: |
117 private: |
123 |
118 |
124 /** |
119 /** |
125 * View initialization function. |
120 * View initialization function. |
126 */ |
121 */ |
128 |
123 |
129 /** |
124 /** |
130 * Setup view menu items. |
125 * Setup view menu items. |
131 */ |
126 */ |
132 void setupMenu(); |
127 void setupMenu(); |
|
128 |
|
129 /** |
|
130 * Triggers model to fetch more conversations. |
|
131 */ |
|
132 void fetchMoreConversations(); |
133 |
133 |
134 /** |
134 /** |
135 * Populates ConvergedMessage for sending. |
135 * Populates ConvergedMessage for sending. |
136 * @param ConvergedMessage to be populated |
136 * @param ConvergedMessage to be populated |
137 * @see ConvergedMessage::MessageType |
137 * @see ConvergedMessage::MessageType |
209 /** |
209 /** |
210 * Refreshes all widgets in the conversation view according to latest model |
210 * Refreshes all widgets in the conversation view according to latest model |
211 * data |
211 * data |
212 */ |
212 */ |
213 void refreshView(); |
213 void refreshView(); |
|
214 |
|
215 /** |
|
216 * This slot is called when the view is successfully added to main window |
|
217 */ |
|
218 void onViewReady(); |
214 |
219 |
215 private slots: |
220 private slots: |
216 |
221 |
217 /** |
222 /** |
218 * Utility method to scroll the list to show the bottom most item |
223 * Utility method to scroll the list to show the bottom most item |
420 * Instance of VKB |
425 * Instance of VKB |
421 */ |
426 */ |
422 HbStaticVkbHost* mVkbHost; |
427 HbStaticVkbHost* mVkbHost; |
423 |
428 |
424 /** |
429 /** |
|
430 * variable holding the visible model index |
|
431 */ |
|
432 QModelIndex mVisibleIndex; |
|
433 |
|
434 /** |
425 * Flag to check it vkb is open. |
435 * Flag to check it vkb is open. |
426 */ |
436 */ |
427 bool mVkbopened; |
437 bool mVkbopened; |
428 |
438 |
429 /** |
439 /** |
430 * variable holding the visible model index |
440 * Flag is set when model is populated. |
431 */ |
441 * @see signal conversationModelPopulated() |
432 QModelIndex mVisibleIndex; |
442 */ |
433 |
443 bool mModelPopulated; |
|
444 |
|
445 /** |
|
446 * Flag is set when |
|
447 */ |
|
448 bool mViewReady; |
434 }; |
449 }; |
435 |
450 |
436 #endif // MSG_CONVERSATION_VIEW_H |
451 #endif // MSG_CONVERSATION_VIEW_H |
437 // EOF |
452 // EOF |