|
1 /* |
|
2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * EAP Wizard Page: Certificate Authority Selection. |
|
16 * |
|
17 */ |
|
18 |
|
19 #ifndef EAPWIZARDPAGECERTCA_H |
|
20 #define EAPWIZARDPAGECERTCA_H |
|
21 |
|
22 // System includes |
|
23 #include <QObject> |
|
24 |
|
25 // User includes |
|
26 #include "eapwizardpage.h" |
|
27 |
|
28 // Forward declarations |
|
29 class HbRadioButtonList; |
|
30 class HbDocumentLoader; |
|
31 class HbLabel; |
|
32 class EapWizardPrivate; |
|
33 class EapQtCertificateInfo; |
|
34 |
|
35 // External data types |
|
36 |
|
37 // Constants |
|
38 |
|
39 /*! |
|
40 @addtogroup group_eap_wizard |
|
41 @{ |
|
42 */ |
|
43 |
|
44 // Class declaration |
|
45 |
|
46 class EapWizardPageCertCa : public EapWizardPage |
|
47 { |
|
48 Q_OBJECT |
|
49 public: |
|
50 explicit EapWizardPageCertCa(EapWizardPrivate* parent); |
|
51 ~EapWizardPageCertCa(); |
|
52 |
|
53 public: // From WlanWizardPage |
|
54 HbWidget* initializePage(); |
|
55 int nextId() const; |
|
56 |
|
57 signals: |
|
58 |
|
59 public slots: |
|
60 |
|
61 protected: |
|
62 |
|
63 protected slots: |
|
64 |
|
65 private: |
|
66 static const int IndexForAutomatic = 0; |
|
67 static const int AmountOfNonCertItems = 1; |
|
68 |
|
69 private: |
|
70 Q_DISABLE_COPY(EapWizardPageCertCa) |
|
71 |
|
72 private slots: |
|
73 void loadDocmlSection(Qt::Orientation orientation); |
|
74 |
|
75 private: // data |
|
76 // OWNED |
|
77 |
|
78 //! docml document loader |
|
79 QScopedPointer<HbDocumentLoader> mDocumentLoader; |
|
80 //! System's CA certificates |
|
81 QList<EapQtCertificateInfo> mCerts; |
|
82 |
|
83 // NOT OWNED |
|
84 |
|
85 //! Visualization of the page |
|
86 HbWidget *mWidget; |
|
87 //! Title text for "Select authority certificate" |
|
88 HbLabel *mTitle; |
|
89 //! visualization of CA certificate list |
|
90 HbRadioButtonList *mCertList; |
|
91 |
|
92 }; |
|
93 |
|
94 /*! @} */ |
|
95 |
|
96 #endif /* EAPWIZARDPAGECERTCA_H */ |