|
1 /* |
|
2 * Copyright (c) 2006 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: IMSWRadioButtonPage.h |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef IMSWRADIOBUTTONPAGE_H |
|
21 #define IMSWRADIOBUTTONPAGE_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32base.h> |
|
25 #include <aknsettingpage.h> |
|
26 #include <aknradiobuttonsettingpage.h> |
|
27 #include <aknnavilabel.h> |
|
28 |
|
29 |
|
30 /** |
|
31 * ?one_line_short_description. |
|
32 * ?other_description_lines |
|
33 * |
|
34 * @lib ?library |
|
35 * @since S60 3.0 |
|
36 */ |
|
37 class CIMSSettingsWizardRadioButtonPage : public CAknRadioButtonSettingPage |
|
38 { |
|
39 public: // Constructors and destructor |
|
40 |
|
41 /** |
|
42 * Destructor |
|
43 * @since S60 3.0 |
|
44 */ |
|
45 virtual ~CIMSSettingsWizardRadioButtonPage(); |
|
46 |
|
47 /** |
|
48 * |
|
49 * @since S60 3.0 |
|
50 */ |
|
51 static CIMSSettingsWizardRadioButtonPage* NewL( |
|
52 CIMSSettingsWizard& aWizard, |
|
53 TInt aResourceId, |
|
54 TInt& aCurrentIndex, |
|
55 const MDesCArray* aItemArray, |
|
56 TDesC& aPageText ); |
|
57 |
|
58 /** |
|
59 * |
|
60 * @since S60 3.0 |
|
61 */ |
|
62 static CIMSSettingsWizardRadioButtonPage* NewLC( |
|
63 CIMSSettingsWizard& aWizard, |
|
64 TInt aResourceId, |
|
65 TInt& aCurrentIndex, |
|
66 const MDesCArray* aItemArray, |
|
67 TDesC& aPageText ); |
|
68 |
|
69 public: // New functions |
|
70 |
|
71 /** |
|
72 * |
|
73 * @since S60 3.0 |
|
74 */ |
|
75 void KeyPressedNextL(); |
|
76 |
|
77 /** |
|
78 * |
|
79 * @since S60 3.0 |
|
80 */ |
|
81 void KeyPressedBackL(); |
|
82 |
|
83 /** |
|
84 * |
|
85 * @since S60 3.0 |
|
86 */ |
|
87 void KeyPressedSelectL(); |
|
88 |
|
89 /** |
|
90 * |
|
91 * @since S60 3.0 |
|
92 */ |
|
93 TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, |
|
94 TEventCode aType ); |
|
95 |
|
96 /** |
|
97 * |
|
98 * @since S60 5.0 |
|
99 */ |
|
100 void HandleListBoxEventL( CEikListBox* aListBox, |
|
101 MEikListBoxObserver::TListBoxEvent aEventType ); |
|
102 |
|
103 protected: // Constructors |
|
104 |
|
105 /** |
|
106 * |
|
107 * @since S60 3.0 |
|
108 */ |
|
109 CIMSSettingsWizardRadioButtonPage( |
|
110 CIMSSettingsWizard& aWizard, |
|
111 TInt aResourceId, |
|
112 TInt& aCurrentIndex, |
|
113 const MDesCArray* aItemArray, |
|
114 TDesC& aPageText ); |
|
115 |
|
116 /** |
|
117 * |
|
118 * @since S60 3.0 |
|
119 */ |
|
120 void ConstructL(); |
|
121 |
|
122 protected: // Functions from base classes |
|
123 |
|
124 virtual void ProcessCommandL( TInt aCommandId ); |
|
125 virtual TBool PostDisplayCheckL(); |
|
126 |
|
127 |
|
128 #ifdef RD_SCALABLE_UI_V2 |
|
129 /** |
|
130 * Function for handling pointer (stylus) events |
|
131 * @since S60 v3.2 |
|
132 * @param aPointerEvent, type of pointer actions |
|
133 */ |
|
134 void HandlePointerEventL(const TPointerEvent& aPointerEvent); |
|
135 |
|
136 #endif //RD_SCALABLE_UI_V2 |
|
137 |
|
138 private: // New virtual functions |
|
139 private: // New functions |
|
140 |
|
141 /** |
|
142 * |
|
143 * @since S60 3.0 |
|
144 */ |
|
145 void UpdateNaviPaneL(); |
|
146 |
|
147 private: // Functions from base classes |
|
148 |
|
149 public: // Data |
|
150 protected: // Data |
|
151 private: // Data |
|
152 |
|
153 CIMSSettingsWizard& iWizard; |
|
154 // |
|
155 TDesC& iPageText; |
|
156 // |
|
157 CAknNavigationControlContainer* iNaviPane; |
|
158 // |
|
159 CAknNavigationDecorator* iNaviDecorator; |
|
160 }; |
|
161 |
|
162 #endif // IMSWRADIOBUTTONPAGE_H |
|
163 |
|
164 // End of File |