equal
deleted
inserted
replaced
60 // |
60 // |
61 CPslnBaseView::~CPslnBaseView() |
61 CPslnBaseView::~CPslnBaseView() |
62 { |
62 { |
63 if ( iContainer ) |
63 if ( iContainer ) |
64 { |
64 { |
65 iPslnUi->RemoveFromStack( iContainer ); |
65 if( iPslnUi ) |
|
66 { |
|
67 iPslnUi->RemoveFromStack( iContainer ); |
|
68 } |
66 delete iContainer; |
69 delete iContainer; |
67 } |
70 } |
68 if ( iNaviPaneContext && |
71 if ( iNaviPaneContext && |
69 iNaviPaneContext != iPslnUi->PslnTabGroup() ) |
72 iNaviPaneContext != iPslnUi->PslnTabGroup() ) |
70 { |
73 { |
79 void CPslnBaseView::HandleListBoxEventL( |
82 void CPslnBaseView::HandleListBoxEventL( |
80 CEikListBox* /*aListBox*/, TListBoxEvent aEventType) |
83 CEikListBox* /*aListBox*/, TListBoxEvent aEventType) |
81 { |
84 { |
82 switch ( aEventType ) |
85 switch ( aEventType ) |
83 { |
86 { |
84 case EEventItemClicked: |
|
85 case EEventFlickStopped: |
|
86 if ( iContainer && iContainer->GetMiddleSoftkeyObserver() ) |
|
87 { |
|
88 iContainer->GetMiddleSoftkeyObserver()->CheckMiddleSoftkeyLabelL(); |
|
89 } |
|
90 HandleListBoxItemHighlightL(); |
|
91 break; |
|
92 case EEventEnterKeyPressed: |
87 case EEventEnterKeyPressed: |
93 case EEventItemDoubleClicked: |
|
94 case EEventItemSingleClicked: |
88 case EEventItemSingleClicked: |
95 HandleListBoxSelectionL(); |
89 HandleListBoxSelectionL(); |
96 break; |
|
97 case EEventPenDownOnItem: |
|
98 HandleListBoxStylusDown(); |
|
99 break; |
|
100 case EEventItemDraggingActioned: |
|
101 HandleListBoxStylusDrag(); |
|
102 break; |
90 break; |
103 default: |
91 default: |
104 break; |
92 break; |
105 } |
93 } |
106 } |
94 } |
259 TInt CPslnBaseView::CbaResourceId(const TVwsViewId& /*aPrevViewId*/,TUid /*aCustomMessageId*/ ) |
247 TInt CPslnBaseView::CbaResourceId(const TVwsViewId& /*aPrevViewId*/,TUid /*aCustomMessageId*/ ) |
260 { |
248 { |
261 return R_AVKON_SOFTKEYS_OPTIONS_BACK; |
249 return R_AVKON_SOFTKEYS_OPTIONS_BACK; |
262 } |
250 } |
263 |
251 |
264 // ----------------------------------------------------------------------------- |
|
265 // Handle listbox stylus move event. |
|
266 // ----------------------------------------------------------------------------- |
|
267 // |
|
268 void CPslnBaseView::HandleListBoxStylusDown() |
|
269 { |
|
270 } |
|
271 |
|
272 // ----------------------------------------------------------------------------- |
|
273 // Handle listbox stylus move event. |
|
274 // ----------------------------------------------------------------------------- |
|
275 // |
|
276 void CPslnBaseView::HandleListBoxStylusDrag() |
|
277 { |
|
278 } |
|
279 |
|
280 // --------------------------------------------------------------------------- |
252 // --------------------------------------------------------------------------- |
281 // Removes container. |
253 // Removes container. |
282 // --------------------------------------------------------------------------- |
254 // --------------------------------------------------------------------------- |
283 // |
255 // |
284 void CPslnBaseView::RemoveContainer() |
256 void CPslnBaseView::RemoveContainer() |