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