|
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: New PAC store password |
|
16 * |
|
17 */ |
|
18 |
|
19 #ifndef EAPWIZARDPAGENEWPACSTORE_H |
|
20 #define EAPWIZARDPAGENEWPACSTORE_H |
|
21 |
|
22 // System includes |
|
23 #include <QObject> |
|
24 |
|
25 // User includes |
|
26 #include "eapwizardpage.h" |
|
27 |
|
28 // Forward declarations |
|
29 class HbDocumentLoader; |
|
30 class HbLineEdit; |
|
31 class HbLabel; |
|
32 class EapQtValidator; |
|
33 |
|
34 // External data types |
|
35 |
|
36 // Constants |
|
37 |
|
38 /*! |
|
39 @addtogroup group_eap_wizard |
|
40 @{ |
|
41 */ |
|
42 |
|
43 // Class declaration |
|
44 |
|
45 class EapWizardPageNewPacStore : public EapWizardPage |
|
46 { |
|
47 Q_OBJECT |
|
48 public: |
|
49 explicit EapWizardPageNewPacStore(EapWizardPrivate* parent); |
|
50 ~EapWizardPageNewPacStore(); |
|
51 |
|
52 public: // From WlanWizardPage |
|
53 HbWidget* initializePage(); |
|
54 int nextId() const; |
|
55 bool showPage(); |
|
56 |
|
57 signals: |
|
58 |
|
59 public slots: |
|
60 |
|
61 protected: |
|
62 |
|
63 protected slots: |
|
64 |
|
65 private: |
|
66 Q_DISABLE_COPY(EapWizardPageNewPacStore) |
|
67 |
|
68 private slots: |
|
69 void textChanged(const QString &text); |
|
70 void loadDocmlSection(Qt::Orientation orientation); |
|
71 |
|
72 private: // data |
|
73 // OWNED |
|
74 //! Document loader for docml |
|
75 QScopedPointer<HbDocumentLoader> mDocumentLoader; |
|
76 //! Validator for PAC store password |
|
77 QScopedPointer<EapQtValidator> mValidator; |
|
78 |
|
79 // NOT OWNED |
|
80 //! Visualization of the page |
|
81 HbWidget *mWidget; |
|
82 //! Line editor for new password |
|
83 HbLineEdit *mEditPasswordNew; |
|
84 //! Line editor for new password confirmation |
|
85 HbLineEdit *mEditPasswordConfirm; |
|
86 //! Title for new password |
|
87 HbLabel *mTitlePasswordNew; |
|
88 //! Title for new password confirmation |
|
89 HbLabel *mTitlePasswordConfirm; |
|
90 }; |
|
91 |
|
92 /*! @} */ |
|
93 |
|
94 #endif |