phonebookui/pbkcommonui/inc/cnthistoryview.h
changeset 59 a642906a277a
parent 47 7cbcb2896f0e
child 65 ae724a111993
equal deleted inserted replaced
47:7cbcb2896f0e 59:a642906a277a
    18 #ifndef CNTHISTORYVIEW_H
    18 #ifndef CNTHISTORYVIEW_H
    19 #define CNTHISTORYVIEW_H
    19 #define CNTHISTORYVIEW_H
    20 
    20 
    21 #include <QObject>
    21 #include <QObject>
    22 #include <cntabstractview.h>
    22 #include <cntabstractview.h>
       
    23 #include <qcontactid.h>
    23 
    24 
    24 class HbListView;
    25 class HbListView;
    25 class CntHistoryModel;
    26 class CntHistoryModel;
    26 class HbView;
    27 class HbView;
    27 class QModelIndex;
    28 class QModelIndex;
    49     int viewId() const { return historyView; }
    50     int viewId() const { return historyView; }
    50 
    51 
    51 public slots:
    52 public slots:
    52     void updateScrollingPosition();
    53     void updateScrollingPosition();
    53     void clearHistory();
    54     void clearHistory();
    54     void handleClearHistory(HbAction *action);
    55     void handleClearHistory(int action);
    55     void itemActivated(const QModelIndex &index);
    56     void itemActivated(const QModelIndex &index);
    56     void showPreviousView();
    57     void showPreviousView();
    57     void showClearHistoryMenu();
    58     void showClearHistoryMenu();
       
    59     void showRootView();
       
    60     void contactDeletedFromOtherSource(const QList<QContactLocalId>& contactIds);
    58     
    61     
    59     
    62     
    60     
    63     
    61 private:
    64 private:
    62     HbDocumentLoader* docLoader();
    65     HbDocumentLoader* docLoader();