1 /* |
|
2 * Copyright (c) 2001-2009 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 the License "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: Header file of PAP UI password setting item |
|
15 * |
|
16 */ |
|
17 |
|
18 /* |
|
19 * %version: 5 % |
|
20 */ |
|
21 |
|
22 #ifndef _PAPUIPWSETTINGITEM_H_ |
|
23 #define _PAPUIPWSETTINGITEM_H_ |
|
24 |
|
25 // INCLUDES |
|
26 #include <aknsettingitemlist.h> |
|
27 |
|
28 // FORWARD DECLARATIONS |
|
29 class CPapSettingItemArray; |
|
30 |
|
31 // CLASS DECLARATION |
|
32 |
|
33 /** |
|
34 * Password setting item class definition |
|
35 */ |
|
36 class CPapUiPwSettingItem : public CAknPasswordSettingItem |
|
37 { |
|
38 public: |
|
39 |
|
40 CPapUiPwSettingItem( TInt aIdentifier, |
|
41 enum TAknPasswordSettingItemMode aMode, |
|
42 TDes &aPassword, |
|
43 CPapSettingItemArray* aParent ); |
|
44 |
|
45 ~CPapUiPwSettingItem(); |
|
46 |
|
47 |
|
48 public: // From CAknSettingItem |
|
49 |
|
50 /** |
|
51 * Handles setting page events. |
|
52 * @param aSettingPage The originating setting page. |
|
53 * @param aEventType A code for the event. |
|
54 */ |
|
55 void HandleSettingPageEventL( |
|
56 CAknSettingPage *aSettingPage, TAknSettingPageEvent aEventType ); |
|
57 |
|
58 public: // new |
|
59 |
|
60 /** |
|
61 * Deletes the password. |
|
62 */ |
|
63 void DeletePasswordL(); |
|
64 |
|
65 |
|
66 private: |
|
67 |
|
68 // Reference, not owned |
|
69 CPapSettingItemArray* iParent; |
|
70 }; |
|
71 |
|
72 |
|
73 #endif // _PAPUIPWSETTINGITEM_H_ |
|
74 |
|
75 // End of File |
|