diff -r 35b64624a9e7 -r 36f374c67aa8 messagingapp/msgui/conversationview/inc/msgconversationview.h --- a/messagingapp/msgui/conversationview/inc/msgconversationview.h Wed Jun 23 18:09:17 2010 +0300 +++ b/messagingapp/msgui/conversationview/inc/msgconversationview.h Tue Jul 06 14:12:40 2010 +0300 @@ -114,11 +114,6 @@ */ void onOrientationAboutToBeChanged(); - /** - * This slot is called when the view is successfully added to main window - */ - void onViewReady(); - private: /** @@ -132,6 +127,11 @@ void setupMenu(); /** + * Triggers model to fetch more conversations. + */ + void fetchMoreConversations(); + + /** * Populates ConvergedMessage for sending. * @param ConvergedMessage to be populated * @see ConvergedMessage::MessageType @@ -211,6 +211,11 @@ * data */ void refreshView(); + + /** + * This slot is called when the view is successfully added to main window + */ + void onViewReady(); private slots: @@ -218,6 +223,8 @@ * Utility method to scroll the list to show the bottom most item */ void scrollToBottom(); + + void onConversationViewEmpty(); /** * Handler for long tap of a list item. @@ -420,15 +427,25 @@ HbStaticVkbHost* mVkbHost; /** + * variable holding the visible model index + */ + QModelIndex mVisibleIndex; + + /** * Flag to check it vkb is open. */ bool mVkbopened; - + /** - * variable holding the visible model index + * Flag is set when model is populated. + * @see signal conversationModelPopulated() */ - QModelIndex mVisibleIndex; - + bool mModelPopulated; + + /** + * Flag is set when + */ + bool mViewReady; }; #endif // MSG_CONVERSATION_VIEW_H