290 * @param aListBox The originating list box. |
292 * @param aListBox The originating list box. |
291 * @param aEventType A code for the event. Further information |
293 * @param aEventType A code for the event. Further information |
292 * may be obtained by accessing the list box itself. |
294 * may be obtained by accessing the list box itself. |
293 */ |
295 */ |
294 void HandleListBoxEventL(CEikListBox* aListBox, TListBoxEvent aEventType); |
296 void HandleListBoxEventL(CEikListBox* aListBox, TListBoxEvent aEventType); |
295 |
297 |
|
298 public: |
|
299 |
|
300 /* |
|
301 * Updates after add/edit had been performed. |
|
302 * Called from editor before exiting the dialog. |
|
303 * @param aItemAdded ETure if add else edit. |
|
304 */ |
|
305 void UpdateOnAddOrEditL(TBool aItemAdded); |
|
306 |
|
307 /* |
|
308 * Exit the dialog; |
|
309 */ |
|
310 void ExitDialogL(); |
|
311 |
296 private: |
312 private: |
297 CCalenMultipleDbListbox* iListBox; |
313 CCalenMultipleDbListbox* iListBox; |
298 CAknsBasicBackgroundControlContext* iBgContext; //Owns |
314 CAknsBasicBackgroundControlContext* iBgContext; //Owns |
299 CAknNavigationControlContainer* iNaviContainer; //Not own |
315 CAknNavigationControlContainer* iNaviContainer; //Not own |
300 CCalenController& iController; |
316 CCalenController& iController; |
301 CDesCArrayFlat* iDesArray; //Owns |
317 CDesCArrayFlat* iDesArray; //Owns |
302 TRect iRect; |
318 TRect iRect; |
303 TBool iFirstTap; |
|
304 TBool iDialogLaunched; |
|
305 RArray<MCalenServices::TCalenIcons> iIconIndices; |
319 RArray<MCalenServices::TCalenIcons> iIconIndices; |
306 CAknIconArray* iIconList; |
320 CAknIconArray* iIconList; |
307 RArray<TInt32> iColorUidArray; |
321 RArray<TInt32> iColorUidArray; |
308 CAsyncCallBack* iAsyncExit; |
322 CAsyncCallBack* iAsyncExit; |
|
323 CAsyncCallBack* iAsyncDeletequery; |
309 TInt iAsyncExitCmd; |
324 TInt iAsyncExitCmd; |
310 CCalenMultiDBEditor* iDbEditor;//Not not owned |
325 CCalenMultiDBEditor* iDbEditor;//Not not owned |
311 TBool iConflictOccured; |
326 TBool iConflictOccured; |
312 TBool iIsDbEditorOpen ; |
327 TBool iIsDbEditorOpen ; |
|
328 |
|
329 CCalCalendarInfo* iCalendarInfoNew; |
|
330 CCalCalendarInfo* iCalendarInfoOriginal; |
|
331 CCalCalendarInfo* iCalendarInfoEdited; |
313 }; |
332 }; |
314 |
333 |
315 |
334 |
316 NONSHARABLE_CLASS( CCalenMultipleDbListboxItemDrawer ) : public CFormattedCellListBoxItemDrawer |
335 NONSHARABLE_CLASS( CCalenMultipleDbListboxItemDrawer ) : public CFormattedCellListBoxItemDrawer |
317 { |
336 { |