messagingapp/msgui/msgapp/inc/msglistview.h
branchGCC_SURGE
changeset 47 5b14749788d7
parent 27 e4592d119491
parent 44 36f374c67aa8
equal deleted inserted replaced
35:a32b19fb291e 47:5b14749788d7
    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;
    29 class HbAction;
       
    30 class QGraphicsLinearLayout;
       
    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  */
    34 class MsgListView: public MsgBaseView
    36 class MsgListView: public MsgBaseView
   113      * This slot is called when delete message dialog is launched.
   115      * This slot is called when delete message dialog is launched.
   114      * @param action selected action (yes or no).
   116      * @param action selected action (yes or no).
   115      */
   117      */
   116     void onDialogDeleteMsg(HbAction* action);
   118     void onDialogDeleteMsg(HbAction* action);
   117     
   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 	    
   118 private:
   127 private:
   119 
   128 
   120     /**
   129     /**
   121      * Initialize the list view inside the main view
   130      * Initialize the list view inside the main view
   122      */
   131      */
   152     {
   161     {
   153         DRAFTS_EXTN = 0x00, CONVERSATIONS_EXTN = 0x01
   162         DRAFTS_EXTN = 0x00, CONVERSATIONS_EXTN = 0x01
   154     };
   163     };
   155 
   164 
   156     /**
   165     /**
   157      * Flag to track if item has been long pressed.
   166      * Main layout
   158      * TODO: Remove it, once unique longpress and click event signal released in week16
   167      * Own
   159      */
   168      */    
   160     bool mItemLongPressed;
   169     QGraphicsLinearLayout *mMainLayout;
   161 };
   170 };
   162 
   171 
   163 #endif // MSG_LIST_VIEW_H
   172 #endif // MSG_LIST_VIEW_H