messagingapp/msgui/conversationview/inc/msgconversationview.h
changeset 38 4e4b6adb1024
parent 37 518b245aa84c
child 41 25fe1fe642e3
--- a/messagingapp/msgui/conversationview/inc/msgconversationview.h	Fri Jun 25 15:47:40 2010 +0530
+++ b/messagingapp/msgui/conversationview/inc/msgconversationview.h	Tue Jun 29 23:42:47 2010 +0530
@@ -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:
 
@@ -422,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