25 class CCTCertInfo; |
25 class CCTCertInfo; |
26 class HbListView; |
26 class HbListView; |
27 class HbAction; |
27 class HbAction; |
28 class HbDialog; |
28 class HbDialog; |
29 class HbMessageBox; |
29 class HbMessageBox; |
|
30 class HbAction; |
|
31 |
30 class CpCertView : public CpBaseSettingView |
32 class CpCertView : public CpBaseSettingView |
31 { |
33 { |
32 Q_OBJECT |
34 Q_OBJECT |
33 |
35 |
34 public: |
36 public: |
35 explicit CpCertView(const QModelIndex& index, QGraphicsItem *parent = 0); |
37 explicit CpCertView(const QModelIndex& index, QGraphicsItem *parent = 0); |
36 virtual ~CpCertView(); |
38 virtual ~CpCertView(); |
37 |
39 |
38 public: |
40 public: |
39 enum TCertificateViews |
41 enum TCertificateViews |
40 { |
42 { |
41 EAuthorityView=0, |
43 EAuthorityView=0, |
42 ETrustedView, |
44 ETrustedView, |
43 EPersonalView, |
45 EPersonalView, |
44 EDeviceView |
46 EDeviceView |
45 }; |
47 }; |
46 |
48 |
47 public slots: |
49 public slots: |
48 void displayPreviousView(); |
50 void displayPreviousView(); |
49 |
51 |
50 private slots: |
52 private slots: |
51 void openCertificate(); |
53 void openCertificate(); |
52 void openCertFromList(const QModelIndex& modelIndex); |
54 void openCertFromList(const QModelIndex& modelIndex); |
53 void showTrustSettings(); |
55 void showTrustSettings(); |
54 void saveTrustSettings(); |
56 void saveTrustSettings(); |
55 void indicateLongPress(HbAbstractViewItem*, QPointF); |
57 void indicateLongPress(HbAbstractViewItem*, QPointF); |
56 |
58 |
57 void deleteCertificate(); |
59 void deleteCertificate(); |
58 TInt refreshListL(); |
60 TInt refreshListL(); |
59 void refreshView( TInt aCount ); |
61 void refreshView( TInt aCount ); |
60 |
62 |
61 void moveSelectedCert(); |
63 void moveSelectedCert(); |
62 void deleteList(); |
64 void deleteList(); |
63 void selectAll(); |
65 void selectAll(); |
64 void moveCert(); |
66 void moveCert(); |
65 void viewDone(); |
67 void viewDone(); |
66 void handleMultipleDelete(HbAction* action); |
68 void handleMultipleDelete(HbAction* action); |
67 void handleMoveDialog(HbAction* action); |
69 void handleMoveDialog(HbAction* action); |
79 TInt mPos; |
81 TInt mPos; |
80 CpCertDataContainer* mCertDataContainer; |
82 CpCertDataContainer* mCertDataContainer; |
81 TBool mSelectAll; |
83 TBool mSelectAll; |
82 RArray<TInt> mSelectionIndex; |
84 RArray<TInt> mSelectionIndex; |
83 RArray<TInt> mIndexList; |
85 RArray<TInt> mIndexList; |
84 |
86 |
85 HbDialog* mPopup; |
87 HbDialog* mPopup; |
|
88 HbAction* mOkAction; |
86 HbView* mPrevView; |
89 HbView* mPrevView; |
87 HbView* mCurrentView; |
90 HbView* mCurrentView; |
88 CpBaseSettingView* mRefreshedView; |
91 CpBaseSettingView* mRefreshedView; |
89 HbListView* mListView; |
92 HbListView* mListView; |
90 HbListView* mSelectAllView; |
93 HbListView* mSelectAllView; |
91 HbView* mOriginalView; |
94 HbView* mOriginalView; |
92 HbMessageBox* mNote; |
95 HbMessageBox* mNote; |
93 HbMenu* mContextMenu; |
96 HbMenu* mContextMenu; |
94 }; |
97 }; |
95 |
98 |