equal
deleted
inserted
replaced
58 // |
58 // |
59 //------------------------------------------------------------------------------ |
59 //------------------------------------------------------------------------------ |
60 // |
60 // |
61 CAspTextSettingPage::~CAspTextSettingPage() |
61 CAspTextSettingPage::~CAspTextSettingPage() |
62 { |
62 { |
63 delete iIndicatorHandler; |
63 delete iNaviPaneHandler; |
64 } |
64 } |
65 |
65 |
66 |
66 |
67 // ----------------------------------------------------------------------------- |
67 // ----------------------------------------------------------------------------- |
68 // CAspTextSettingPage::OKToExitL |
68 // CAspTextSettingPage::OKToExitL |
131 // |
131 // |
132 // ---------------------------------------------------------------------------- |
132 // ---------------------------------------------------------------------------- |
133 // |
133 // |
134 void CAspTextSettingPage::UpdateNaviPaneL() |
134 void CAspTextSettingPage::UpdateNaviPaneL() |
135 { |
135 { |
136 if (!iIndicatorHandler) |
136 |
137 { |
137 if (!iNaviPaneHandler) |
138 iIndicatorHandler = new (ELeave) CAspIndicatorHandler( |
138 { |
139 iAvkonEnv->EditingStateIndicator()); |
139 iNaviPaneHandler = new (ELeave) CAspNaviPaneHandler( |
140 } |
140 iEikonEnv->AppUiFactory()->StatusPane()); |
141 |
141 } |
142 iIndicatorHandler->SetIndicatorStateL( |
142 |
143 EAknNaviPaneEditorIndicatorMessageLength, iParam.iPageText); |
143 iNaviPaneHandler->SetNaviPaneTitleL(iParam.iPageText); |
144 } |
144 } |
145 |
145 |
146 |
146 |
147 // ---------------------------------------------------------------------------- |
147 // ---------------------------------------------------------------------------- |
148 // CAspTextSettingPage::OfferKeyEventL |
148 // CAspTextSettingPage::OfferKeyEventL |
254 // |
254 // |
255 |
255 |
256 |
256 |
257 void CAspRadioButtonSettingPage::HandleListBoxEventL(CEikListBox* aListBox, TListBoxEvent aEventType) |
257 void CAspRadioButtonSettingPage::HandleListBoxEventL(CEikListBox* aListBox, TListBoxEvent aEventType) |
258 { |
258 { |
259 if( AknLayoutUtils::PenEnabled() ) |
259 |
260 { |
260 TInt oldSelect = ListBoxControl()->CurrentItemIndex(); |
261 switch(aEventType) |
261 CAknRadioButtonSettingPage::HandleListBoxEventL( aListBox, aEventType ); |
262 { |
262 if ( oldSelect != ListBoxControl()->CurrentItemIndex() ) |
263 case EEventItemSingleClicked: |
263 |
264 this->ProcessCommandL(EAknSoftkeySelect); |
264 { |
265 break; |
265 |
266 default: |
266 TBuf<KBufSize> buf; |
267 break; |
267 buf.Num(oldSelect); |
268 |
268 TBool ret = iParam.iObserver->CheckValidity(buf, iParam.iSettingType); |
269 } |
269 } |
270 } |
|
271 } |
270 } |
272 |
271 |
273 // ---------------------------------------------------------------------------- |
272 // ---------------------------------------------------------------------------- |
274 // CAspRadioButtonSettingPage::OfferKeyEventL |
273 // CAspRadioButtonSettingPage::OfferKeyEventL |
275 // |
274 // |
319 // |
318 // |
320 //------------------------------------------------------------------------------ |
319 //------------------------------------------------------------------------------ |
321 // |
320 // |
322 CAspAlphaPasswordSettingPage::~CAspAlphaPasswordSettingPage() |
321 CAspAlphaPasswordSettingPage::~CAspAlphaPasswordSettingPage() |
323 { |
322 { |
324 delete iIndicatorHandler; |
323 delete iNaviPaneHandler; |
325 } |
324 } |
326 |
325 |
327 |
326 |
328 //------------------------------------------------------------------------------ |
327 //------------------------------------------------------------------------------ |
329 // CAspAlphaPasswordSettingPage::ProcessCommandL |
328 // CAspAlphaPasswordSettingPage::ProcessCommandL |
355 // |
354 // |
356 // ---------------------------------------------------------------------------- |
355 // ---------------------------------------------------------------------------- |
357 // |
356 // |
358 void CAspAlphaPasswordSettingPage::UpdateNaviPaneL() |
357 void CAspAlphaPasswordSettingPage::UpdateNaviPaneL() |
359 { |
358 { |
360 if (!iIndicatorHandler) |
359 |
361 { |
360 if (!iNaviPaneHandler) |
362 iIndicatorHandler = new (ELeave) CAspIndicatorHandler( |
361 { |
363 iAvkonEnv->EditingStateIndicator()); |
362 iNaviPaneHandler = new (ELeave) CAspNaviPaneHandler( |
364 } |
363 iEikonEnv->AppUiFactory()->StatusPane()); |
365 |
364 } |
366 iIndicatorHandler->SetIndicatorStateL( |
365 |
367 EAknNaviPaneEditorIndicatorMessageLength, iParam.iPageText); |
366 iNaviPaneHandler->SetNaviPaneTitleL(iParam.iPageText); |
368 } |
367 } |
369 |
368 |
370 |
369 |
371 // ---------------------------------------------------------------------------- |
370 // ---------------------------------------------------------------------------- |
372 // CAspAlphaPasswordSettingPage::OfferKeyEventL |
371 // CAspAlphaPasswordSettingPage::OfferKeyEventL |