messagingapp/msgui/msgapp/inc/msglistview.h
changeset 27 e4592d119491
parent 25 84d9eb65b26f
child 47 5b14749788d7
equal deleted inserted replaced
25:84d9eb65b26f 27:e4592d119491
    24 // FORWARD DECLARATIONS
    24 // FORWARD DECLARATIONS
    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 
    29 class HbAction;
    30 /**
    30 /**
    31  * This class provides the message list view for the messaging application.
    31  * This class provides the message list view for the messaging application.
    32  * Data source for this view is the conversation list model.
    32  * Data source for this view is the conversation list model.
    33  */
    33  */
    34 class MsgListView: public MsgBaseView
    34 class MsgListView: public MsgBaseView
   107     /**
   107     /**
   108      * Opens contact card for resolved contact.
   108      * Opens contact card for resolved contact.
   109      */
   109      */
   110     void contactInfo();
   110     void contactInfo();
   111 
   111 
       
   112 	/**
       
   113      * This slot is called when delete message dialog is launched.
       
   114      * @param action selected action (yes or no).
       
   115      */
       
   116     void onDialogDeleteMsg(HbAction* action);
       
   117     
   112 private:
   118 private:
   113 
   119 
   114     /**
   120     /**
   115      * Initialize the list view inside the main view
   121      * Initialize the list view inside the main view
   116      */
   122      */
   145     enum viewExtnIds
   151     enum viewExtnIds
   146     {
   152     {
   147         DRAFTS_EXTN = 0x00, CONVERSATIONS_EXTN = 0x01
   153         DRAFTS_EXTN = 0x00, CONVERSATIONS_EXTN = 0x01
   148     };
   154     };
   149 
   155 
       
   156     /**
       
   157      * Flag to track if item has been long pressed.
       
   158      * TODO: Remove it, once unique longpress and click event signal released in week16
       
   159      */
       
   160     bool mItemLongPressed;
   150 };
   161 };
   151 
   162 
   152 #endif // MSG_LIST_VIEW_H
   163 #endif // MSG_LIST_VIEW_H