phonebookui/pbkcommonui/inc/cnthistoryview.h
changeset 31 2a11b5b00470
parent 27 de1630741fbe
child 37 fd64c38c277d
equal deleted inserted replaced
27:de1630741fbe 31:2a11b5b00470
    48     int viewId() const { return historyView; }
    48     int viewId() const { return historyView; }
    49 
    49 
    50 public slots:
    50 public slots:
    51     void updateScrollingPosition();
    51     void updateScrollingPosition();
    52     void clearHistory();
    52     void clearHistory();
       
    53     void handleClearHistory(HbAction *action);
    53     void itemActivated(const QModelIndex &index);
    54     void itemActivated(const QModelIndex &index);
    54     void showPreviousView();
    55     void showPreviousView();
       
    56     void showClearHistoryMenu();
       
    57     
    55     
    58     
    56     
    59     
    57 private:
    60 private:
    58     HbDocumentLoader* docLoader();
    61     HbDocumentLoader* docLoader();
    59     
    62     
    65     HbListView*                 mHistoryListView; // not own
    68     HbListView*                 mHistoryListView; // not own
    66     CntHistoryModel*            mHistoryModel; // own
    69     CntHistoryModel*            mHistoryModel; // own
    67     HbView*                     mView; // not own
    70     HbView*                     mView; // not own
    68     HbDocumentLoader*           mDocumentLoader; // own
    71     HbDocumentLoader*           mDocumentLoader; // own
    69     CntAbstractViewManager*     mViewMgr; // not own
    72     CntAbstractViewManager*     mViewMgr; // not own
    70     HbAction*                   mBackKey; // own
    73     HbAction*                   mBackKey; // not own
    71     QContact*                   mContact; // own
    74     QContact*                   mContact; // own
       
    75     HbAction*                   mClearHistory;  // not own
    72     
    76     
    73 };
    77 };
    74 
    78 
    75 #endif // CNTHISTORYVIEW_H
    79 #endif // CNTHISTORYVIEW_H
    76 
    80