equal
deleted
inserted
replaced
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(); |