messagingapp/msgui/msgapp/inc/msglistview.h
changeset 25 84d9eb65b26f
parent 23 238255e8b033
child 27 e4592d119491
child 37 518b245aa84c
--- a/messagingapp/msgui/msgapp/inc/msglistview.h	Fri Apr 16 14:56:15 2010 +0300
+++ b/messagingapp/msgui/msgapp/inc/msglistview.h	Mon May 03 12:29:07 2010 +0300
@@ -26,7 +26,6 @@
 class HbAbstractViewItem;
 class HbListWidget;
 class HbListWidgetItem;
-class QSortFilterProxyModel;
 
 /**
  * This class provides the message list view for the messaging application.
@@ -47,11 +46,6 @@
      */
     virtual ~MsgListView();
 
-    /**
-     * This function starts effect on ListView
-     */
-    void activateView();
-
 private slots:
     /*
      * Handler for long tap of a list item.
@@ -67,44 +61,12 @@
      */
     void openConversation(const QModelIndex& index);
 
-    //----------------- View specific Menu Slots---------------------------//
-
-    /**
-     * Sorts conversation data model based on subject
-     */
-    void sortBySubject();
-
-    /**
-     * Sorts conversation data model based on timestamp
-     */
-    void sortByDate();
-
-    /**
-     * Sorts conversation data model based on sender
-     */
-    void sortBySender();
-
     /**
      * Handler for new message button trigger
      */
     void sendNewMessage();
 
     /**
-     * Handler for closing all the active chats
-     */
-    void closeActiveChats();
-
-    /**
-     * Deletes all the conversations
-     */
-    void deleteAll();
-
-    /**
-     * Lists all the Im Messages separately
-     */
-    void viewImMessagesSeparately();
-
-    /**
      *Popup the message settings dialog
      */
     void settings();
@@ -126,27 +88,30 @@
      */
     void deleteItem();
 
-    // ------------------------------- End ----------------------------- //
-
-    /**
-     * Connect Model to view
-     */
-    void populateListView();
-
     /**
      * Handles toolbar extension item clicks.
      * @param item Activated toolbar extension item.
      */
     void handleViewExtnActivated(HbListWidgetItem *item);
+    
+    /**
+     * Constructs view when viewReady is emitted.
+     */
+    void doDelayedConstruction();
+    
+    /**
+     * Handles saving to contacts
+     */
+    void saveToContacts();
+    
+    /**
+     * Opens contact card for resolved contact.
+     */
+    void contactInfo();
 
 private:
 
     /**
-     * createView
-     */
-    void createView();
-
-    /**
      * Initialize the list view inside the main view
      */
     void setupListView();
@@ -169,12 +134,6 @@
     HbListView* mMsgList;
 
     /**
-     * Proxy model for sorting and filtering.
-     * Own.
-     */
-    QSortFilterProxyModel *mProxyModel;
-
-    /**
      * Container widget of toolbar extension.
      * ToolBar takes ownership.
      */